summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-05-07 10:05:57 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-05-07 10:05:57 -0400
commit8828146254067bb857c4eb7ebbe1f1ba820c0155 (patch)
tree9a682090cba803193f9b74c698338e7fe70ded1c
parent1fe92db5c3fef98e7f1d51f73b65ad83b6178734 (diff)
Fix phony targets
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0b0b0f7d..3a4c2e29 100644
--- a/Makefile
+++ b/Makefile
@@ -205,7 +205,7 @@ else
NODEP := 1
endif
-.PHONY: all clean mostlyclean tidy tools $(TOOLDIRS) patch_mwasmarm
+.PHONY: all clean mostlyclean tidy tools $(TOOLDIRS) patch_mwasmarm arm9 arm7
MAKEFLAGS += --no-print-directory
@@ -249,8 +249,12 @@ $(BUILD_DIR)/%.o: %.s
$(BUILD_DIR)/$(LD_SCRIPT): $(LD_SCRIPT) undefined_syms.txt
$(CPP) $(VERSION_CFLAGS) -MMD -MP -MT $@ -MF $@.d -I include/ -I . -DBUILD_DIR=$(BUILD_DIR) -o $@ $<
-$(SBINFILES):
+$(SBINFILES): arm9 arm7
+
+arm9:
$(MAKE) -C arm9
+
+arm7:
$(MAKE) -C arm7
$(BINFILES): %.bin: %.sbin