| | |
| | | # 开源工具包 |
| | | LDLIBS += -lusgcommon |
| | | |
| | | INCLUDES += -I./queue -I./socket -I./util -I$(ROOT)/include/usgcommon |
| | | INCLUDES += -I./queue -I./socket -I$(ROOT)/include/usgcommon |
| | | |
| | | SOURCES := $(wildcard *.c ./**/*.c) |
| | | OBJS = $(patsubst %.c, $(DEST)/%.o, $(SOURCES)) |
| | |
| | | install -d $(PREFIX)/lib/ |
| | | install -m 644 $^ $(PREFIX)/lib/ |
| | | install -d $(PREFIX)/include/shmqueue |
| | | install -m 644 ./*.h ./queue/*.h ./socket/*.h ./util/*.h $(PREFIX)/include/shmqueue |
| | | install -m 644 ./*.h ./queue/*.h ./socket/*.h $(PREFIX)/include/shmqueue |
| | | |
| | | |
| | | .PHONY: uninstall |