mirror of https://github.com/pret/pokecrystal.git
Tools depend on common.h by default
This commit is contained in:
parent
a69cfb1720
commit
fa2e675210
|
@ -4,8 +4,8 @@ CC := gcc
|
|||
CFLAGS := -O3 -flto -std=c11 -Wall -Wextra -pedantic
|
||||
|
||||
tools := \
|
||||
lzcomp \
|
||||
gfx \
|
||||
lzcomp \
|
||||
make_patch \
|
||||
png_dimensions \
|
||||
pokemon_animation \
|
||||
|
@ -19,16 +19,9 @@ all: $(tools)
|
|||
clean:
|
||||
$(RM) $(tools)
|
||||
|
||||
gfx: common.h
|
||||
png_dimensions: common.h
|
||||
pokemon_animation: common.h
|
||||
pokemon_animation_graphics: common.h
|
||||
scan_includes: common.h
|
||||
stadium: common.h
|
||||
|
||||
lzcomp: CFLAGS += -Wno-strict-overflow -Wno-sign-compare
|
||||
lzcomp: $(wildcard lz/*.c) $(wildcard lz/*.h)
|
||||
$(CC) $(CFLAGS) -o $@ lz/*.c
|
||||
|
||||
%: %.c
|
||||
%: %.c common.h
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
|
Loading…
Reference in New Issue