diff options
Diffstat (limited to 'make-linux.mk')
| -rw-r--r-- | make-linux.mk | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/make-linux.mk b/make-linux.mk index 4011db95..0b59b5b0 100644 --- a/make-linux.mk +++ b/make-linux.mk @@ -18,6 +18,7 @@ # GENERATED_FILES := +DOC_DIR = doc # Automagically pick clang or gcc, with preference for clang # This is only done if we have not overridden these with an environment or CLI variable @@ -117,9 +118,7 @@ installer: one FORCE ./ext/installfiles/linux/buildinstaller.sh clean: FORCE - $(RM) -r ${GENERATED_FILES} - rm -rf *.so *.o netcon/*.a node/*.o controller/*.o osdep/*.o service/*.o ext/http-parser/*.o ext/lz4/*.o ext/json-parser/*.o $(OBJS) zerotier-one zerotier-idtool zerotier-cli zerotier-selftest zerotier-netcon-service build-* ZeroTierOneInstaller-* *.deb *.rpm .depend netcon/.depend - # Remove files from all the funny places we put them for tests + rm -rf ${GENERATED_FILES} *.so *.o netcon/*.a node/*.o controller/*.o osdep/*.o service/*.o ext/http-parser/*.o ext/lz4/*.o ext/json-parser/*.o ext/miniupnpc/*.o ext/libnatpmp/*.o $(OBJS) zerotier-one zerotier-idtool zerotier-cli zerotier-selftest zerotier-netcon-service build-* ZeroTierOneInstaller-* *.deb *.rpm .depend netcon/.depend find netcon -type f \( -name '*.o' -o -name '*.so' -o -name '*.1.0' -o -name 'zerotier-one' -o -name 'zerotier-cli' -o -name 'zerotier-netcon-service' \) -delete find netcon/docker-test -name "zerotier-intercept" -type f -delete @@ -128,11 +127,10 @@ debug: FORCE make ZT_DEBUG=1 selftest official: FORCE + make ZT_OFFICIAL_RELEASE=1 clean make -j 4 ZT_OFFICIAL_RELEASE=1 one make ZT_OFFICIAL_RELEASE=1 installer -FORCE: - -DOC_DIR = doc - include ${DOC_DIR}/module.mk + +FORCE: |
