pokecrystal-board/tools/Makefile
yenatch 543d67b647 Build tools with -O3.
This improves build time by about 20%.
2017-09-24 15:08:44 -04:00

23 lines
273 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)
%: %.c
$(CC) $(CFLAGS) -o $@ $<