wangzhengquan
2021-01-11 be9fe29197f7c8201ef5dec8e7667b59ba8d3851
src/Makefile
@@ -18,9 +18,9 @@
INCLUDES += -I./shm -I./queue -I./socket  -I$(ROOT)/include/usgcommon
SOURCES := $(wildcard *.c ./**/*.c)
OBJS   = $(patsubst %.c, $(DEST)/%.o, $(SOURCES))
DEPENDENCES = $(patsubst %.c, $(DEST)/%.d, $(SOURCES))
SOURCES := $(wildcard *.cpp ./**/*.cpp)
OBJS   = $(patsubst %.cpp, $(DEST)/%.o, $(SOURCES))
DEPENDENCES = $(patsubst %.cpp, $(DEST)/%.d, $(SOURCES))
# MYLIBS = $(LIBCOMMON) $(DLIBCOMMON)
@@ -64,7 +64,7 @@
# 使用方式: g++ test1.c  -lcommon
# 使用方式: g++ test1.cpp  -lcommon
.PHONY: install
install: $(MYLIBS)
   @echo '>>>>>>' installing $^ ...