diff options
author | Bradley Sepos <[email protected]> | 2016-06-04 07:14:20 -0400 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2016-06-04 07:14:22 -0400 |
commit | 9206444c45f789393b8fb652c0f2febc2733d2bd (patch) | |
tree | 8fc6a12c83c4945ba6d6749c1814647f735cd2e9 /macosx | |
parent | 9d2f3f5f2f97dd8fe0edd78979ab83a99b026c75 (diff) |
build: Add xclean make target to macosx.
Since we bypass the test (cli) module on Mac OS X, also add test.clean and test.xclean convenience targets.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/module.defs | 1 | ||||
-rw-r--r-- | macosx/module.rules | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/macosx/module.defs b/macosx/module.defs index d864b7ff4..96c913e13 100644 --- a/macosx/module.defs +++ b/macosx/module.defs @@ -3,6 +3,7 @@ $(eval $(call import.GCC,MACOSX)) MACOSX.src/ = $(SRC/)macosx/ MACOSX.build/ = $(BUILD/)macosx/ +MACOSX.xroot/ = $(BUILD/)xroot/ MACOSX.m4.in = $(wildcard $(MACOSX.src/)*.m4) MACOSX.m4.out = $(MACOSX.m4.in:$(MACOSX.src/)%.m4=$(MACOSX.build/)%) diff --git a/macosx/module.rules b/macosx/module.rules index a34b19166..7d4d368fc 100644 --- a/macosx/module.rules +++ b/macosx/module.rules @@ -7,6 +7,17 @@ macosx.clean: $(RM.exe) -f $(MACOSX.m4.out) $(RM.exe) -f $(MACOSX.osl.filelist) +macosx.xclean: + $(RM.exe) -rf $(MACOSX.build/) + $(RM.exe) -rf $(MACOSX.xroot/) + +test.clean: + $(RM.exe) -f $(MACOSX.xroot/)HandBrakeCLI + $(RM.exe) -rf $(MACOSX.xroot/)HandBrakeCLI.dSYM + $(RM.exe) -rf $(MACOSX.xroot/)HandBrakeCLI.build + +test.xclean: test.clean + $(MACOSX.m4.out): $(BUILD/)project/handbrake.m4 $(MACOSX.m4.out): | $(dir $(MACOSX.m4.out)) $(MACOSX.m4.out): $(MACOSX.build/)%: $(MACOSX.src/)%.m4 |