wangzhengquan
2020-07-21 91ec036cace39fd5b5f04644f6bced1f477005e0
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)