change make file

This commit is contained in:
RpiBot 2016-12-12 19:17:05 +00:00
parent 3e0b259322
commit a720d8ff9c

View File

@ -11,7 +11,7 @@ SERVER=plugin_manager.o \
SERVERLIB=-lpthread -ldl SERVERLIB=-lpthread -ldl
UNAME_S := $(shell uname -s) UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux) ifeq ($(UNAME_S),Linux)
BUILDIRD=/root/www BUILDIRD=/opt/www
PF_FLAG=-D_GNU_SOURCE -DLINUX PF_FLAG=-D_GNU_SOURCE -DLINUX
endif endif
ifeq ($(UNAME_S),Darwin) ifeq ($(UNAME_S),Darwin)
@ -63,4 +63,4 @@ pclean:
rm "$$file"/*.o; \ rm "$$file"/*.o; \
fi \ fi \
done done
.PRECIOUS: %.o .PRECIOUS: %.o