aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2022-03-08 21:52:59 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2022-03-08 21:52:59 -0500
commit340908b68337b24acbe8450761b58cb1b464ebee (patch)
treef7bf012682a6c30092700b5be1f9a35a7417befb /tools/Makefile
parentGen 1's Minimize graphic was not a complete 8x8 tile (diff)
downloadpokeyellow-340908b68337b24acbe8450761b58cb1b464ebee.tar.gz
pokeyellow-340908b68337b24acbe8450761b58cb1b464ebee.tar.xz
pokeyellow-340908b68337b24acbe8450761b58cb1b464ebee.zip
Slightly refactor some C tools
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile12
1 files changed, 9 insertions, 3 deletions
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 $@ $<