diff options
Diffstat (limited to 'Makefile')
| -rwxr-xr-x | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |
