2017-06-09 21:55:09 +01:00
|
|
|
.PHONY: all clean
|
2017-05-29 19:15:34 -04:00
|
|
|
|
2017-06-29 18:26:04 -04:00
|
|
|
CC := gcc
|
2017-09-24 15:08:44 -04:00
|
|
|
CFLAGS := -O3 -std=c99 -Wall -Wextra
|
2017-06-24 16:42:44 -04:00
|
|
|
|
2017-06-09 21:55:09 +01:00
|
|
|
tools := \
|
2017-05-29 19:15:34 -04:00
|
|
|
lzcomp \
|
|
|
|
png_dimensions \
|
|
|
|
scan_includes \
|
|
|
|
palette \
|
|
|
|
pokemon_animation \
|
2017-06-18 00:09:25 -04:00
|
|
|
pokemon_animation_graphics \
|
2017-06-24 18:34:25 -04:00
|
|
|
gfx \
|
|
|
|
md5
|
2017-06-09 21:55:09 +01:00
|
|
|
all: $(tools)
|
2017-05-29 19:15:34 -04:00
|
|
|
@:
|
|
|
|
|
2017-06-09 21:55:09 +01:00
|
|
|
clean:
|
|
|
|
rm -f $(tools)
|
|
|
|
|
2017-12-28 01:25:46 -05:00
|
|
|
gfx md5: common.h
|
2017-05-29 19:15:34 -04:00
|
|
|
%: %.c
|
2017-06-24 16:42:44 -04:00
|
|
|
$(CC) $(CFLAGS) -o $@ $<
|