Use a separate makefile for tools

- Fix crystal11
- Fix a bug where the dependency checks would run regardless of target

Fixes 0bd74cdd73
This commit is contained in:
yenatch
2017-05-29 19:15:34 -04:00
parent c81a7aa162
commit e78034eb8c
2 changed files with 18 additions and 7 deletions

13
tools/Makefile Normal file
View File

@@ -0,0 +1,13 @@
.PHONY: all
all: \
lzcomp \
png_dimensions \
scan_includes \
palette \
pokemon_animation \
pokemon_animation_graphics
@:
%: %.c
$(CC) -o $@ $<