From a1550d4c160ffdadd91a3776135aeeeb0fb6a4b6 Mon Sep 17 00:00:00 2001 From: Rangi Date: Wed, 30 May 2018 14:55:37 -0400 Subject: 'make mostlyclean' preserves graphics; separate frame gfx files --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f88940a..f6d8f33 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3