blob: 32f764a191b7873ced2e6abad165ddc037e08a05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
.PHONY: all clean
CC := gcc
CFLAGS := -O3 -std=c11 -Wall -Wextra -pedantic -Wno-missing-field-initializers
tools := \
gfx \
pkmncompress \
scan_includes
all: $(tools)
@:
clean:
$(RM) $(tools)
gfx: common.h
scan_includes: common.h
%: %.c
$(CC) $(CFLAGS) -o $@ $<
|