diff --git a/tools/Makefile b/tools/Makefile index f297508e9..395ece24e 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -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 $@ $<