Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
- make it stop showing a wall of text about deleting intermediate files after converting the .png files into .pic files for trainers and pokemon
- make it so 'make clean' cleans the tools directory, too.
  • Loading branch information
JustRegularLuna committed Feb 27, 2022
1 parent 6be6de3 commit 3762dcd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ pokeblue_obj := audio_blue.o main_blue.o text_blue.o wram_blue.o

.SUFFIXES:
.SECONDEXPANSION:
# Suppress annoying intermediate file deletion messages.
.PRECIOUS: %.2bpp
.PHONY: all clean red blue compare tools

roms := pokered.gbc pokeblue.gbc
Expand All @@ -26,7 +28,7 @@ compare: red blue
clean:
rm -f $(roms) $(pokered_obj) $(pokeblue_obj) $(roms:.gbc=.sym)
find . \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.pic' \) -exec rm {} +
#$(MAKE) clean -C tools/
$(MAKE) clean -C tools/

tools:
$(MAKE) -C tools/
Expand Down

0 comments on commit 3762dcd

Please sign in to comment.