From 575f2e424a17737111786227103a428fb5c20396 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期一, 12 十月 2020 18:15:27 +0800
Subject: [PATCH] req_rep
---
test/Makefile | 47 ++++++++++++++++++++++++++++++-----------------
1 files changed, 30 insertions(+), 17 deletions(-)
diff --git a/test/Makefile b/test/Makefile
index fc951f6..a4b59f1 100755
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,26 +1,39 @@
-#
-# Makefile for common library.
-#
-ROOT=..
-LDLIBS+=-Wl,-rpath=$(ROOT)/lib:$(ROOT)/build/lib
-# 寮�婧愬伐鍏峰寘璺緞
-LDDIR += -L$(ROOT)/lib -L$(ROOT)/build/lib
-# 寮�婧愬伐鍏峰寘
-LDLIBS += -lshm_queue -lusgcommon -lpthread
-INCLUDE += -I$(ROOT)/build/include
-
+ROOT := ..
PLATFORM=$(shell $(ROOT)/systype.sh)
include $(ROOT)/Make.defines.$(PLATFORM)
-
-PROGS = protocle_parse strtok test_set test_vector lambda test test_type
+#RPATH += -Wl,-rpath=${ROOT}/lib
+# 寮�婧愬伐鍏峰寘璺緞
+LDDIR += -L${DEST}/lib
-build: $(PROGS)
+# 寮�婧愬伐鍏峰寘
+LDLIBS += -lshm_queue -lusgcommon -lpthread
-# test1: $(LIBCOMMON)
+INCLUDES += -I${DEST}/include/shmqueue -I$(ROOT)/include/usgcommon
-# 濡傛灉鍖匒 寮曠敤鍖匓锛� B 瑕佹斁鍦� A 鍚庨潰
+
+PROGS = ${DEST}/is_little_endian
+
+DEPENDENCES = $(patsubst %, %.d, $(PROGS))
+
+#LIBCOMMON=${ROOT}/lib/libusgcommon.a
+
+build: $(PROGS)
+
+
+# class
+#$(DEST)/kucker : kucker.c
+
clean:
- rm -f $(TEMPFILES) $(PROGS)
+ rm -f $(PROGS) $(DEPENDENCES) $(TEMPFILES)
+
+# $(LIBCOMMON):
+# @(cd $(ROOT)/common && $(MAKE))
+
+-include $(DEPENDENCES)
+include $(ROOT)/Make.common.inc
+
+
+
--
Gitblit v1.8.0