summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 202961c3e..752658b06 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -1,8 +1,8 @@
-.PHONY: all
+.PHONY: all clean
CFLAGS := -std=c99
-all: \
+tools := \
lzcomp \
png_dimensions \
scan_includes \
@@ -11,7 +11,11 @@ all: \
pokemon_animation_graphics \
gfx \
md5
+all: $(tools)
@:
+clean:
+ rm -f $(tools)
+
%: %.c
$(CC) $(CFLAGS) -o $@ $<