From 27a32410481fc10e789315b3a1dab88a33020270 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期二, 16 六月 2020 15:45:37 +0800 Subject: [PATCH] finished bipc --- test/Makefile | 26 +++++++++++++++++--------- 1 files changed, 17 insertions(+), 9 deletions(-) diff --git a/test/Makefile b/test/Makefile index c8fa824..7dafde0 100755 --- a/test/Makefile +++ b/test/Makefile @@ -2,22 +2,30 @@ # Makefile for common library. # ROOT=.. -LDLIBS+=-Wl,-rpath=../hclib:../hclib/HCNetSDKCom:../common -LDDIR += -L$(ROOT)/hcnetdisk_wrapper -L../hclib -L../hclib/HCNetSDKCom -LDLIBS += -lhcnetsdk -lhpr -lHCCore -LDLIBS += -ljsoncpp -lnng -lpthread -LIB_NETDISK = libnetdisk.a -DLIB_NETDISK = libnetdisk.so +LDLIBS+=-Wl,-rpath=$(ROOT)/lib/hc:$(ROOT)/lib/hc/HCNetSDKCom:$(ROOT)/common:$(ROOT)/lib/jsoncpp +# 娴峰悍鍖呰矾寰� +LDDIR += -L$(ROOT)/lib/hc -L$(ROOT)/lib/hc/HCNetSDKCom +# 寮�婧愬伐鍏峰寘璺緞 +LDDIR += -L$(ROOT)/lib/jsoncpp -L$(ROOT)/lib/nng + +# 娴峰悍鍖� +LDLIBS += -lhcnetsdk -lhpr -lHCCore +# 寮�婧愬伐鍏峰寘 +LDLIBS += -ljsoncpp -lnng -lpthread + +INCLUDE += -I$(ROOT)/device/include + PLATFORM=$(shell $(ROOT)/systype.sh) include $(ROOT)/Make.defines.$(PLATFORM) - -all: nng/reqrep test +PROGS = nng/pubsub + +build: $(PROGS) clean: - rm -f test *.o a.out core temp.* *.a *.so + rm -f $(TEMPFILES) include $(ROOT)/Make.common.inc -- Gitblit v1.8.0