From f7889e2ceddbc3e15ea4b5377d831f4432169f76 Mon Sep 17 00:00:00 2001
From: Guo Wenxue <guowenxue@gmail.com>
Date: Sat, 04 Jan 2025 16:26:42 +0800
Subject: [PATCH] Update iotd program configure file

---
 project/socketd/makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/project/socketd/makefile b/project/socketd/makefile
index 4036f46..0ff2b49 100644
--- a/project/socketd/makefile
+++ b/project/socketd/makefile
@@ -40,7 +40,7 @@
 LDFLAGS+=-lpthread
 
 # sub-directory need to entry and compile
-SUBDIR=${SRCS} sqlite
+SUBDIR=sqlite ${SRCS}
 
 all: entry subdir
 	${CROSS_COMPILE}gcc ${CFLAGS} sock_client.c -o sock_client ${LDFLAGS}
@@ -63,4 +63,5 @@
 	@for dir in ${SUBDIR} ; do if [ -e $${dir} ] ; then make clean -C $${dir}; fi; done
 	@rm -f ${APP_NAME}
 	@rm -f cscope.* tags
+	@rm -f *.log *.db
 

--
Gitblit v1.9.1