summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2018-01-11 13:36:10 -0600
committercamthesaxman <cameronghall@cox.net>2018-01-11 13:36:10 -0600
commit4763fccf6dae7ee1bf9f40973fce5934076a9ee8 (patch)
tree8500f80360da733e7fb8105820d03eb0cd558d34
parent253bc8fa35d0f720f41f609b19e5e38e68d1b10f (diff)
remove all built ROMs when running make tidy
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d9d7c5a22..bb5c1b563 100644
--- a/Makefile
+++ b/Makefile
@@ -96,8 +96,9 @@ clean: tidy
$(RM) $(ALL_OBJECTS)
find . \( -iname '*.1bpp' -o -iname '*.4bpp' -o -iname '*.8bpp' -o -iname '*.gbapal' -o -iname '*.lz' -o -iname '*.rl' \) -exec rm {} +
+ALL_BUILDS := ruby ruby_rev1 ruby_rev1 sapphire sapphire_rev1 sapphire_rev2 ruby_de sapphire_de
tidy:
- $(RM) poke$(BUILD_NAME){.gba,.elf,.map}
+ $(RM) $(ALL_BUILDS:%=poke%{.gba,.elf,.map})
$(RM) -r build
%.gba: %.elf