mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Slightly refactor some C tools
This commit is contained in:
parent
7e78c1171d
commit
a75dd22270
5 changed files with 331 additions and 316 deletions
|
|
@ -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 $@ $<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue