|
|
@ -4,7 +4,7 @@ ifeq ($(wildcard local.conf),local.conf) |
|
|
|
-include local.conf |
|
|
|
endif |
|
|
|
|
|
|
|
PREFIX?=$(HOME) |
|
|
|
PREFIX?=$(HOME)/local/ |
|
|
|
BOOST_INCLUDE?=$(HOME)/dev/boost_1_72_0 |
|
|
|
BOOST_LIB?=$(HOME)/dev/boost_1_72_0/stage/lib |
|
|
|
|
|
|
@ -23,7 +23,7 @@ else |
|
|
|
CXXFLAGS+=-O0 -g |
|
|
|
endif |
|
|
|
|
|
|
|
TARGET=libwebserver.a |
|
|
|
TARGET=libpEpwebserver.a |
|
|
|
|
|
|
|
ALL_SOURCE=$(filter-out test_%.cc,$(wildcard *.cc)) |
|
|
|
DEPENDS=$(subst .cc,.d,$(ALL_SOURCE)) |
|
|
@ -62,13 +62,14 @@ test: $(TESTS) |
|
|
|
|
|
|
|
install: $(TARGET) |
|
|
|
mkdir -p $(PREFIX)/include/pEp |
|
|
|
cp -f *.hh $(PREFIX)/include/pEp |
|
|
|
cp -v *.hh $(PREFIX)/include/pEp |
|
|
|
cp -v libpEpwebserver.a $(PREFIX)/lib/ |
|
|
|
|
|
|
|
uninstall: |
|
|
|
for i in *.hh; do rm -f $(PREFIX)/include/pEp/\$i ; done |
|
|
|
|
|
|
|
clean: |
|
|
|
rm -f *.o *.d *.d.* $(TARGET) $(TESTS) |
|
|
|
rm -vf *.o *.d *.d.* $(TARGET) $(TESTS) |
|
|
|
|
|
|
|
local.conf: |
|
|
|
@echo writing local.conf |
|
|
|