From 340908b68337b24acbe8450761b58cb1b464ebee Mon Sep 17 00:00:00 2001 From: Rangi Date: Tue, 8 Mar 2022 21:52:59 -0500 Subject: Slightly refactor some C tools --- tools/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'tools/Makefile') diff --git a/tools/Makefile b/tools/Makefile index 6bea053d..59304bee 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,16 +1,22 @@ .PHONY: all clean CC := gcc -CFLAGS := -O3 -std=c99 -Wall -Wextra -Wno-missing-field-initializers +CFLAGS := -O3 -std=c11 -Wall -Wextra -pedantic -Wno-missing-field-initializers -tools := scan_includes gfx pkmncompress pcm +tools := \ + gfx \ + pcm \ + pkmncompress \ + scan_includes all: $(tools) @: clean: - rm -f $(tools) + $(RM) $(tools) gfx: common.h +scan_includes: common.h + %: %.c $(CC) $(CFLAGS) -o $@ $< -- cgit v1.3.1-sl0p