From f2514dbc65c4037690d1f51b66bf899b7f20227f Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Tue, 30 May 2017 13:58:07 -0700 Subject: [PATCH] updated macOS makefile --- make-mac.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/make-mac.mk b/make-mac.mk index 2d6c4e6..655c383 100644 --- a/make-mac.mk +++ b/make-mac.mk @@ -177,6 +177,22 @@ static_lib: picotcp $(ZTO_OBJS) $(CXX) $(CXXFLAGS) $(TAP_FILES) $(STACK_DRIVER_FILES) -c -DSDK_STATIC libtool -static -o $(STATIC_LIB) $(ZTO_OBJS) $(SDK_OBJS) $(PICO_LIB) +############################################################################## +## iOS/macOS App Frameworks ## +############################################################################## + +ios_app_framework: + cd examples/apple/ZeroTierSDK_Apple; xcodebuild -configuration Release -scheme ZeroTierSDK_iOS build SYMROOT="../../../$(BUILD)/ios_app_framework" + cd examples/apple/ZeroTierSDK_Apple; xcodebuild -configuration Debug -scheme ZeroTierSDK_iOS build SYMROOT="../../../$(BUILD)/ios_app_framework" + +macos_app_framework: + cd examples/apple/ZeroTierSDK_Apple; xcodebuild -configuration Release -scheme ZeroTierSDK_OSX build SYMROOT="../../../$(BUILD)/macos_app_framework" + cd examples/apple/ZeroTierSDK_Apple; xcodebuild -configuration Debug -scheme ZeroTierSDK_OSX build SYMROOT="../../../$(BUILD)/macos_app_framework" + +############################################################################## +## Static Libraries ## +############################################################################## + ############################################################################## ## Java JNI ## ##############################################################################