summaryrefslogtreecommitdiffstats
path: root/Tools/MiniBrowser/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/MiniBrowser/Makefile')
-rw-r--r--Tools/MiniBrowser/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/Tools/MiniBrowser/Makefile b/Tools/MiniBrowser/Makefile
new file mode 100644
index 0000000..61cd475
--- /dev/null
+++ b/Tools/MiniBrowser/Makefile
@@ -0,0 +1,21 @@
+# Build MiniBrowser only on SnowLeopard and later.
+
+OSX_VERSION ?= $(shell sw_vers -productVersion | cut -d. -f 2)
+BUILD_MINIBROWSER = $(shell (( $(OSX_VERSION) >= 6 )) && echo "YES" )
+
+ifeq "$(BUILD_MINIBROWSER)" "YES"
+
+SCRIPTS_PATH = ../Scripts
+include ../../Makefile.shared
+
+else
+
+all: ;
+
+debug d development dev develop: ;
+
+release r deployment dep deploy: ;
+
+clean: ;
+
+endif