diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2022-03-08 21:52:57 -0500 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2022-03-08 21:52:57 -0500 |
| commit | a75dd222709c92ae136d835ff2451391d5a88e45 (patch) | |
| tree | 9bb631acafee493c6fc75335964b4774d023f2e1 /tools/Makefile | |
| parent | 7e78c1171d1206ca2f31cc67c55cc715eeb44ee5 (diff) | |
Slightly refactor some C tools
Diffstat (limited to 'tools/Makefile')
| -rw-r--r-- | tools/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile index 7ab1d146..32f764a1 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,16 +1,21 @@ .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 +tools := \ + gfx \ + pkmncompress \ + scan_includes all: $(tools) @: clean: - rm -f $(tools) + $(RM) $(tools) gfx: common.h +scan_includes: common.h + %: %.c $(CC) $(CFLAGS) -o $@ $< |
