diff --git a/Makefile b/Makefile index b267233e..1372acf1 100644 --- a/Makefile +++ b/Makefile @@ -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) $< diff --git a/tools/Makefile b/tools/Makefile index f3f9496f..b81166b0 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -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)