diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-05-09 11:52:53 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-05-09 11:52:53 -0700 |
commit | 986773cc9c71b1b99e3bfe565a52ad23514b2bd0 (patch) | |
tree | 872e047c88bacf8b2d385ebf86694e00b9d3f503 | |
parent | ecbcc9eb2c63f5024935547aeaf486dd22153a2e (diff) | |
download | infinitytier-986773cc9c71b1b99e3bfe565a52ad23514b2bd0.tar.gz infinitytier-986773cc9c71b1b99e3bfe565a52ad23514b2bd0.zip |
ZT_USE_TESTNET define in makefiles.
-rw-r--r-- | make-linux.mk | 5 | ||||
-rw-r--r-- | make-mac.mk | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/make-linux.mk b/make-linux.mk index 0a063663..57bd2d24 100644 --- a/make-linux.mk +++ b/make-linux.mk @@ -10,10 +10,15 @@ ifeq ($(ZT_OFFICIAL_RELEASE),1) ZT_AUTO_UPDATE=1 DEFS+=-DZT_OFFICIAL_RELEASE endif + ifeq ($(ZT_AUTO_UPDATE),1) DEFS+=-DZT_AUTO_UPDATE endif +ifeq ($(ZT_USE_TESTNET),1) + DEFS+=-DZT_USE_TESTNET +endif + # Uncomment to dump trace and log to stdout #DEFS+=-DZT_TRACE -DZT_LOG_STDOUT diff --git a/make-mac.mk b/make-mac.mk index 559ef2be..d0bbea27 100644 --- a/make-mac.mk +++ b/make-mac.mk @@ -15,10 +15,15 @@ ifeq ($(ZT_OFFICIAL_RELEASE),1) CODESIGN=codesign CODESIGN_CERT="Developer ID Application: ZeroTier Networks LLC (8ZD9JUCZ4V)" endif + ifeq ($(ZT_AUTO_UPDATE),1) DEFS+=-DZT_AUTO_UPDATE endif +ifeq ($(ZT_USE_TESTNET),1) + DEFS+=-DZT_USE_TESTNET +endif + # Uncomment to dump trace and log info to stdout (useful for debug/test) #DEFS+=-DZT_TRACE -DZT_LOG_STDOUT |