summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2020-04-19 11:07:15 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2020-04-19 11:07:15 -0400
commitb3306f5d5a899cae77b9a954ae2798e9b648c899 (patch)
tree577034b08a523a6b74c04fc86c5e7086fa8611b5 /Makefile
parent668d5ecfff5a394428fa8a59a7fb7bbbe753bc4b (diff)
phony targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 71efca0f..3b9d1431 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
# Makefile to build Pokemon Diamond image
+.PHONY: clean tidy all default
+
# Try to include devkitarm if installed
TOOLCHAIN := $(DEVKITARM)
@@ -94,7 +96,10 @@ MWASMARM_PATCHER = tools/mwasmarm_patcher/mwasmarm_patcher$(EXE)
all: $(ROM)
@$(SHA1SUM) -c $(TARGET).sha1
-clean:
+clean: tidy
+ make -C tools/mwasmarm_patcher clean
+
+tidy:
$(RM) -r $(BUILD_DIR)
patch_mwasmarm: