summaryrefslogtreecommitdiffstats
path: root/macosx/module.rules
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2016-06-04 07:14:20 -0400
committerBradley Sepos <[email protected]>2016-06-04 07:14:22 -0400
commit9206444c45f789393b8fb652c0f2febc2733d2bd (patch)
tree8fc6a12c83c4945ba6d6749c1814647f735cd2e9 /macosx/module.rules
parent9d2f3f5f2f97dd8fe0edd78979ab83a99b026c75 (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/module.rules')
-rw-r--r--macosx/module.rules11
1 files changed, 11 insertions, 0 deletions
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