summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-05-21 10:41:00 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-05-21 10:41:00 +0200
commit6101a572c5566f4eed63e6947397741657177721 (patch)
treecc97e3d766a3d4cdf3e2453f41f16769d640c46a /Makefile
parent752661ae6e92bb0514634215b57ecfaae8650c8e (diff)
downloadqtlocation-mapboxgl-6101a572c5566f4eed63e6947397741657177721.tar.gz
add makefile targets for osx
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 83c77da717..bca200cd8b 100644
--- a/Makefile
+++ b/Makefile
@@ -51,6 +51,16 @@ run-linux: linux
build/Release/llmr
+
+# Builds the OS X app with make.
+osx: config.gypi macosx/llmr-app.gyp node
+ deps/run_gyp macosx/llmr-app.gyp --depth=. -Goutput_dir=.. --generator-output=./build/macosx -f make
+ make -C build/macosx V=$(V) osxapp
+
+# Executes the OS X binary
+run-osx: osx
+ build/Release/llmr.app/Contents/MacOS/llmr
+
##### Xcode projects ###########################################################
clear_xcode_cache: