diff options
author | Ben10do <Ben10do@users.noreply.github.com> | 2017-06-09 21:55:09 +0100 |
---|---|---|
committer | Ben10do <Ben10do@users.noreply.github.com> | 2017-06-09 21:55:09 +0100 |
commit | 202cea9705e20f7aba242fa7863f2a79bd88925c (patch) | |
tree | a9c949b68610060832e7d58129e9b05b972cd01d /tools | |
parent | fb154f5a6e43a86801fd16f392633c854d099ac4 (diff) |
- Make the tools implicitly when making the ROM
- Add a clean target to the tools Makefile
- Run said clean target when cleaning the pokecrystal directory
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile index 4a04027fc..66e9be8a5 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,13 +1,18 @@ -.PHONY: all +.PHONY: all clean -all: \ +tools := \ lzcomp \ png_dimensions \ scan_includes \ palette \ pokemon_animation \ pokemon_animation_graphics + +all: $(tools) @: +clean: + rm -f $(tools) + %: %.c $(CC) -o $@ $< |