From f67df94069569d193ee2cc8d70dd9747cc2574a4 Mon Sep 17 00:00:00 2001
From: Guo Wenxue <guowenxue@gmail.com>
Date: Sat, 06 Jul 2024 21:02:43 +0800
Subject: [PATCH] Update openlibs build shell script for FTP server

---
 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