shithub: pokecrystal

ref: 1f5cc28db7527a85aa983d4f3d1786cfff1dbc6b
dir: /tools/Makefile/

View raw version
.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 $@ $<