From 82bd40bc2b2d024ab7be0f27eea3f871f99cc213 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期三, 21 十月 2020 16:55:30 +0800
Subject: [PATCH] update
---
test/Makefile | 39 +++++++++++++++++++++++++++++++++++++++
1 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/test/Makefile b/test/Makefile
new file mode 100755
index 0000000..7046699
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,39 @@
+
+ROOT := ..
+PLATFORM=$(shell $(ROOT)/systype.sh)
+include $(ROOT)/Make.defines.$(PLATFORM)
+
+#RPATH += -Wl,-rpath=${ROOT}/lib
+# 寮�婧愬伐鍏峰寘璺緞
+LDDIR += -L${DEST}/lib
+
+# 寮�婧愬伐鍏峰寘
+LDLIBS += -lshm_queue -lusgcommon -lpthread
+
+INCLUDES += -I${DEST}/include/shmqueue -I$(ROOT)/include/usgcommon
+
+
+PROGS = ${DEST}/test test2
+
+DEPENDENCES = $(patsubst %, %.d, $(PROGS))
+
+#LIBCOMMON=${ROOT}/lib/libusgcommon.a
+
+build: $(PROGS)
+
+
+# class
+#$(DEST)/kucker : kucker.c
+
+
+clean:
+ rm -f $(PROGS) $(DEPENDENCES) $(TEMPFILES)
+
+# $(LIBCOMMON):
+# @(cd $(ROOT)/common && $(MAKE))
+
+-include $(DEPENDENCES)
+include $(ROOT)/Make.common.inc
+
+
+
--
Gitblit v1.8.0