wangzhengquan
2020-07-27 554529bb69cd610e83db2c9a80b4f36f5225d80f
src/Makefile
@@ -23,14 +23,16 @@
MYLIBS = $(LIBSQUEUE) $(DLIBSQUEUE)
PREFIX = $(ROOT)/build
ifeq ($(DEBUG),y)
  MYLIBS = $(LIBSQUEUE)
else
  MYLIBS = $(LIBSQUEUE) $(DLIBSQUEUE)
endif
all: build
all: install
build: $(MYLIBS)
@@ -55,7 +57,7 @@
   install -d $(PREFIX)/lib/
   install -m 644 $^ $(PREFIX)/lib/
   install -d $(PREFIX)/include/
   install -m 644 $(MINCLUDE)/* $(PREFIX)/include/
   install -m 644 ./*.h ./queue/include/* ./socket/include/* ./util/include/* $(PREFIX)/include/
clean:
   rm -f $(TEMPFILES)