change make clean to clean tools & make distclean to distclean tools/ido-static-recomp

This commit is contained in:
CrepeGoat 2023-09-20 23:55:30 -06:00
parent 9921382a68
commit 45f0e98d6a
2 changed files with 6 additions and 2 deletions

View File

@ -480,11 +480,12 @@ endif
clean:
$(RM) -r $(BUILD_DIR_BASE)
$(MAKE) -C $(TOOLS_DIR) clean
$(MAKE) -C $(TOOLS_DIR)/sm64tools clean
distclean: clean
$(PYTHON) extract_assets.py --clean
$(MAKE) -C $(TOOLS_DIR) clean
$(MAKE) -C $(TOOLS_DIR)/sm64tools clean
$(MAKE) -C $(TOOLS_DIR) distclean
test: $(ROM)
$(EMULATOR) $(EMU_FLAGS) $<

View File

@ -56,6 +56,9 @@ clean:
$(MAKE) -C audiofile clean
$(MAKE) -C ido-static-recomp clean
distclean: clean
$(MAKE) -C ido-static-recomp distclean
define COMPILE
$(1): $($1_SOURCES)
$$(CC) $(CFLAGS) $($1_CFLAGS) $$^ -o $$@ $($1_LDFLAGS) $(LDFLAGS)