From a597d71e54bdb6e587c639946f01abaf92c4916d Mon Sep 17 00:00:00 2001 From: louist103 <35883445+louist103@users.noreply.github.com> Date: Mon, 17 May 2021 13:50:19 -0400 Subject: [PATCH] Add clean assets (#785) * makefile change * also delete * Add cleantools * rename cleanassets and assetclean * add rules to PHONY in makefile * Remove toolsclean --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6c52dd74de..00c71d1b88 100644 --- a/Makefile +++ b/Makefile @@ -181,8 +181,11 @@ build/undefined_syms.txt: undefined_syms.txt clean: $(RM) -r $(ROM) $(ELF) build -distclean: clean +assetclean: $(RM) -r $(ASSET_BIN_DIRS) + $(RM) -r build/assets + +distclean: clean assetclean $(RM) -r baserom/ $(MAKE) -C tools distclean @@ -196,7 +199,7 @@ resources: $(ASSET_FILES_OUT) test: $(ROM) $(EMULATOR) $(EMU_FLAGS) $< -.PHONY: all clean setup test distclean +.PHONY: all clean setup test distclean assetclean #### Various Recipes ####