summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2007-07-20 20:04:02 +0000
committerjbrjake <[email protected]>2007-07-20 20:04:02 +0000
commita576d53a438d92455432b5c960f4ce380007f3d7 (patch)
treefd6038362ba1fabe7da75bc31f44b5bc077d566e
parent1b873a4f2586046a00c00bd74058e56efa0993bc (diff)
Speeds up the make build process in OS X by removing Instant HandBrake from the default make. To still build IHB, do "make all-chunky". I also added a "make test" for OS X that only builds HandBrakeCLI, because it saves me quite a bit of time when debugging.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@720 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 655ee4f9b..3c8c031f5 100644
--- a/Makefile
+++ b/Makefile
@@ -8,11 +8,21 @@ ifeq ($(SYSTEM),Darwin)
all: clean app
+all-chunky: clean app-chunky
+
+test: clean cli
+
dev: clean internal
app:
+ (./DownloadMacOsXContribBinaries.sh ; cd macosx ; xcodebuild -target libhb -target HandBrake -target HandBrakeCLI -configuration UB OTHER_CFLAGS_QUOTED_1="-DHB_VERSION=\\\"$(HB_VERSION)\\\" -DHB_BUILD=$(HB_BUILD) " build | sed '/^$$/d' ; cd .. ; ./macosx/localize.sh HandBrake.app $(HB_VERSION) $(HB_BUILD) UB )
+
+app-chunky:
(./DownloadMacOsXContribBinaries.sh ; cd macosx ; xcodebuild -alltargets -configuration UB OTHER_CFLAGS_QUOTED_1="-DHB_VERSION=\\\"$(HB_VERSION)\\\" -DHB_BUILD=$(HB_BUILD) " build | sed '/^$$/d' ; cd .. ; ./macosx/localize.sh HandBrake.app $(HB_VERSION) $(HB_BUILD) UB )
+cli:
+ (./DownloadMacOsXContribBinaries.sh ; cd macosx ; xcodebuild -target libhb -target HandBrakeCLI -configuration UB OTHER_CFLAGS_QUOTED_1="-DHB_VERSION=\\\"$(HB_VERSION)\\\" -DHB_BUILD=$(HB_BUILD) " build | sed '/^$$/d' )
+
clean:
(cd macosx ; xcodebuild -alltargets -configuration UB clean | sed '/^$$/d' )