diff options
author | stuconnolly <stuart02@gmail.com> | 2010-10-14 18:13:44 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-10-14 18:13:44 +0000 |
commit | c3fbbd781e061210637df6781ed10896e90485d2 (patch) | |
tree | 1507bba8f606c2fc47e52256d4d81ad1526754f8 /Makefile | |
parent | 890022a6a462a2e7792379e316fa3866e737ff5c (diff) | |
download | sequelpro-c3fbbd781e061210637df6781ed10896e90485d2.tar.gz sequelpro-c3fbbd781e061210637df6781ed10896e90485d2.tar.bz2 sequelpro-c3fbbd781e061210637df6781ed10896e90485d2.zip |
Tidy up build settings, by ensuring they are consistent across all targets, specifically the compiler used. Also add a very basic Makefile to ease builds from the command line during build testing.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..3a3c98b3 --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +# $Id$ + +CONFIG=Release + +BUILD_CONFIG?=$(CONFIG) + +CP=ditto --rsrc +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 + +test: + xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(SP_CFLAGS)" -target "Unit Tests" build + +clean: + xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" -nodependencies clean + +clean-all: + xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" clean + +localize: + xcodebuild -project sequel-pro.xcodeproj -configuration "$(BUILD_CONFIG)" CFLAGS="$(SP_CFLAGS)" -target Localize + +latest: + svn update + make sequel-pro |