wangzhengquan
2021-01-15 b750d359d742349be27463a5408f352aa042fdec
test_socket/Makefile
@@ -1,16 +1,16 @@
ROOT := ..
PLATFORM=$(shell $(ROOT)/systype.sh)
include $(ROOT)/Make.defines.$(PLATFORM)
#RPATH += -Wl,-rpath=${ROOT}/lib
RPATH += -Wl,-rpath=$(ROOT)/lib:$(DEST)/lib
# 开源工具包路径
LDDIR += -L${DEST}/lib
# 开源工具包
LDLIBS += -lshm_queue -lusgcommon -lpthread
#-lusgcommon
LDLIBS += -lshm_queue  -lpthread -lusgcommon
INCLUDES += -I${DEST}/include/shmqueue -I$(ROOT)/include/usgcommon
INCLUDES += -I${ROOT}/src -I${ROOT}/src/queue -I${ROOT}/src/socket -I${ROOT}/src/common/include -I$(ROOT)/include/usgcommon
PROGS = ${DEST}/dgram_mod_bus ${DEST}/dgram_mod_survey ${DEST}/dgram_mod_req_rep ${DEST}/test_timeout ${DEST}/test_open_close