wangzhengquan
2020-12-22 b90ba316b54db321d3e8aaac7df93b46d80b9d9c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 
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}/test
 
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