aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-05-07 14:04:58 +0000
committerstuconnolly <stuart02@gmail.com>2012-05-07 14:04:58 +0000
commitc2fc87167b086680aa8b7190e497e834413bfc7d (patch)
treee5ea54b91ef0bc42b0b9f868f4ad614fc1504de7 /Makefile
parentb02a815e440ab1b7ed78bb70833e55f69a128a4a (diff)
downloadsequelpro-c2fc87167b086680aa8b7190e497e834413bfc7d.tar.gz
sequelpro-c2fc87167b086680aa8b7190e497e834413bfc7d.tar.bz2
sequelpro-c2fc87167b086680aa8b7190e497e834413bfc7d.zip
Update make files to support accepting xcode default settings.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 8b9015c3..f27b61f3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
# $Id$
CONFIG=Debug
+OPTIONS=
BUILD_CONFIG?=$(CONFIG)
@@ -10,19 +11,19 @@ RM=rm
.PHONY: sequel-pro test clean clean-all localize latest
sequel-pro:
- xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(SP_CFLAGS)" build
+ xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(SP_CFLAGS)" $(OPTIONS) build
test:
- xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(SP_CFLAGS)" -target "Unit Tests" build
+ xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(SP_CFLAGS)" -target "Unit Tests" $(OPTIONS) build
clean:
- xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" -nodependencies clean
+ xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" $(OPTIONS) -nodependencies clean
clean-all:
- xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" clean
+ xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" $(OPTIONS) clean
localize:
- xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(SP_CFLAGS)" -target Localize
+ xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(SP_CFLAGS)" $(OPTIONS) -target Localize
latest:
svn update