From cc6bec3330c29cc29f54d3e3d919d510f0197641 Mon Sep 17 00:00:00 2001 From: wzq <wzq@localhost.localdomain> Date: 星期六, 22 八月 2020 19:35:42 +0800 Subject: [PATCH] update --- src/Makefile | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index 2ab0bb5..9f399e1 100644 --- a/src/Makefile +++ b/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) -- Gitblit v1.8.0