ROOT := .. PLATFORM=$(shell $(ROOT)/systype.sh) include $(ROOT)/Make.defines.$(PLATFORM) #RPATH += -Wl,-rpath=${ROOT}/lib # 开源工具包路径 LDDIR += -L${DEST}/lib # 开源工具包 LDLIBS += -lshm_queue -lusgcommon -lpthread INCLUDES += -I${DEST}/include/shmqueue -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 DEPENDENCES = $(patsubst %, %.d, $(PROGS)) #LIBCOMMON=${ROOT}/lib/libusgcommon.a build: $(PROGS) # class #$(DEST)/kucker : kucker.c clean: rm -f $(PROGS) $(DEPENDENCES) $(TEMPFILES) # $(LIBCOMMON): # @(cd $(ROOT)/common && $(MAKE)) -include $(DEPENDENCES) include $(ROOT)/Make.common.inc