pokecrystal/tools/Makefile

23 lines
269 B
Makefile

.PHONY: all clean
CC := gcc
CFLAGS := -std=c99 -Wall -Wextra
tools := \
lzcomp \
png_dimensions \
scan_includes \
palette \
pokemon_animation \
pokemon_animation_graphics \
gfx \
md5
all: $(tools)
@:
clean:
rm -f $(tools)
%: %.c
$(CC) $(CFLAGS) -o $@ $<