From c2fc87167b086680aa8b7190e497e834413bfc7d Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Mon, 7 May 2012 14:04:58 +0000 Subject: Update make files to support accepting xcode default settings. --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3