mirror of
https://github.com/pret/pokediamond.git
synced 2026-08-26 02:34:39 -05:00
Add mostlyclean target; ignore generated gfx
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -16,3 +16,8 @@ cmake-build-debug/
|
||||
|
||||
# Tool executables
|
||||
*.exe
|
||||
|
||||
# Generated files
|
||||
*.4bpp
|
||||
*.lz
|
||||
*.gbapal
|
||||
|
||||
7
Makefile
7
Makefile
@@ -107,16 +107,19 @@ else
|
||||
NODEP := 1
|
||||
endif
|
||||
|
||||
.PHONY: all clean tidy tools $(TOOLDIRS) patch_mwasmarm
|
||||
.PHONY: all clean mostlyclean tidy tools $(TOOLDIRS) patch_mwasmarm
|
||||
|
||||
MAKEFLAGS += --no-print-directory
|
||||
|
||||
all: $(ROM)
|
||||
@$(SHA1SUM) -c $(TARGET).sha1
|
||||
|
||||
clean: tidy
|
||||
clean: mostlyclean
|
||||
make -C tools/mwasmarm_patcher clean
|
||||
|
||||
mostlyclean: tidy
|
||||
find . \( -iname '*.1bpp' -o -iname '*.4bpp' -o -iname '*.8bpp' -o -iname '*.gbapal' -o -iname '*.lz' \) -exec $(RM) {} +
|
||||
|
||||
tidy:
|
||||
$(RM) -r $(BUILD_DIR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user