pokecrystal-board/tools/Makefile
2017-12-28 01:25:46 -05:00

24 lines
291 B
Makefile

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