From 91ec036cace39fd5b5f04644f6bced1f477005e0 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期二, 21 七月 2020 19:33:28 +0800 Subject: [PATCH] update --- test/Makefile | 21 ++++----------------- 1 files changed, 4 insertions(+), 17 deletions(-) diff --git a/test/Makefile b/test/Makefile index eee9f77..643b72d 100755 --- a/test/Makefile +++ b/test/Makefile @@ -2,38 +2,25 @@ # Makefile for common library. # ROOT=.. -LDLIBS+=-Wl,-rpath=$(ROOT)/queue:$(ROOT)/lib +LDLIBS+=-Wl,-rpath=$(ROOT)/lib:$(ROOT)/build/lib # 寮�婧愬伐鍏峰寘璺緞 -LDDIR += -L$(ROOT)/queue +LDDIR += -L$(ROOT)/lib -L$(ROOT)/build/lib # 寮�婧愬伐鍏峰寘 LDLIBS += -lshm_queue -lusgcommon -lpthread -INCLUDE += -I$(ROOT)/queue/ -I$(ROOT)/queue/include +INCLUDE += -I$(ROOT)/build/include PLATFORM=$(shell $(ROOT)/systype.sh) include $(ROOT)/Make.defines.$(PLATFORM) -PROGS = communication - +PROGS = dgram_socket_test build: $(PROGS) # test1: $(LIBCOMMON) # 濡傛灉鍖匒 寮曠敤鍖匓锛� B 瑕佹斁鍦� A 鍚庨潰 - - -test_queue: test.h $(ROOT)/queue/include/lock_free_queue.h - -single_productor: test.h $(ROOT)/queue/include/lock_free_queue.h - -single_consumer: test.h $(ROOT)/queue/include/lock_free_queue.h clean: rm -f $(TEMPFILES) $(PROGS) - - - -$(LIBQUEUE): - (cd $(ROOT)/queue && $(MAKE)) -- Gitblit v1.8.0