From c3fbbd781e061210637df6781ed10896e90485d2 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Thu, 14 Oct 2010 18:13:44 +0000 Subject: 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. --- Makefile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3