summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-01-19 20:40:26 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2017-01-19 20:40:26 -0500
commite0dfebc08eb023d73bfbbfb07c67c380fdf4c0fc (patch)
treec7cdd871763258a52c887a7c8d774cba1a7077a4 /Makefile
parentd60e872fbeddaf5d38006ca974fb15bbf5601662 (diff)
Yet more data rips
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 267808f..43d9a51 100755
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: all compare clean
+.PHONY: all compare clean tidy
.SUFFIXES:
.SUFFIXES: .asm .o .gbc .png
@@ -38,8 +38,10 @@ compare: $(ROMS) baserom.gbc
cmp $^
# Remove files generated by the build process.
-clean:
+tidy:
rm -f $(ROMS) $(OBJS) $(ROMS:.gbc=.sym)
+
+clean: tidy
find . \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.pcm' \) -exec rm {} +
%.2bpp: %.png