From 202cea9705e20f7aba242fa7863f2a79bd88925c Mon Sep 17 00:00:00 2001 From: Ben10do Date: Fri, 9 Jun 2017 21:55:09 +0100 Subject: - 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 --- tools/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tools') 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 $@ $< -- cgit v1.2.3