From cc6bec3330c29cc29f54d3e3d919d510f0197641 Mon Sep 17 00:00:00 2001 From: wzq <wzq@localhost.localdomain> Date: 星期六, 22 八月 2020 19:35:42 +0800 Subject: [PATCH] update --- demo/Makefile | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/demo/Makefile b/demo/Makefile index a80c730..8fbd78f 100644 --- a/demo/Makefile +++ b/demo/Makefile @@ -2,19 +2,20 @@ # 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)/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 = req_rep pub_sub +PROGS = dgram_mod_req_rep dgram_mod_survey dgram_mod_bus + build: $(PROGS) @@ -25,8 +26,3 @@ clean: rm -f $(TEMPFILES) $(PROGS) - - - -$(LIBQUEUE): - (cd $(ROOT)/queue && $(MAKE)) \ No newline at end of file -- Gitblit v1.8.0