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