wangzhengquan
2020-09-25 00dba6082e245d917cb7d6eed3c627211ff41cd7
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
#
# Makefile for common library.
#
ROOT=..
LDLIBS+=-Wl,-rpath=$(ROOT)/lib:$(ROOT)/build/lib
# 开源工具包路径
LDDIR += -L$(ROOT)/build/lib
# 开源工具包
LDLIBS += -lshm_queue -lusgcommon -lpthread
 
INCLUDE += -I$(ROOT)/build/include
 
PLATFORM=$(shell $(ROOT)/systype.sh)
include $(ROOT)/Make.defines.$(PLATFORM)
 
 
PROGS = test_queue
 
build: $(PROGS)
 
# test1: $(LIBCOMMON)
 
# 如果包A 引用包B, B 要放在 A 后面
 
clean:
    rm -f $(TEMPFILES) $(PROGS)