diff options
| author | Rangi <remy.oukaour+rangi@gmail.com> | 2018-05-30 14:55:37 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi@gmail.com> | 2018-05-30 14:55:37 -0400 |
| commit | a1550d4c160ffdadd91a3776135aeeeb0fb6a4b6 (patch) | |
| tree | 321124ae36ab7f42ed1b669df64b5fa2bd617ad5 /Makefile | |
| parent | aa11780082158395153c930403a90219383da681 (diff) | |
'make mostlyclean' preserves graphics; separate frame gfx files
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,6 @@ MD5 := md5sum -c -.PHONY: all compare clean text +.PHONY: all compare clean mostlyclean text .SUFFIXES: .SUFFIXES: .asm .o .gb .png @@ -44,6 +44,11 @@ clean: rm -rf $(ROMS) $(OBJS) $(ROMS:.gb=.sym) build/* shim.asm find . \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.pic' -o -iname '*.pcm' \) -exec rm {} + +# Remove files except for graphics. +mostlyclean: + rm -rf $(ROMS) $(OBJS) $(ROMS:.gb=.sym) build/* shim.asm + find . \( -iname '*.pcm' \) -exec rm {} + + gfx/sgb/sgb_border_alt.2bpp: tools/gfx += --trim-whitespace gfx/sgb/sgb_border.2bpp: tools/gfx += --trim-whitespace gfx/title/title.2bpp: tools/gfx += --trim-whitespace |
