mirror of
https://github.com/pret/pokeheartgold.git
synced 2026-03-21 17:25:33 -05:00
- all local vars to camelcase - header include guards with lib name - comments for preprocessor directives - asm defs back to respective .inc files - /lib/dsprot/tools/ merged to /tools/ - unprefixed globals prefixed - sdk defs consolidated to sdk include - lsf lib split to objects
18 lines
234 B
Makefile
18 lines
234 B
Makefile
CC := gcc
|
|
|
|
CFLAGS := -O3 -Wno-unused-result
|
|
|
|
C_FILES := $(wildcard *.c)
|
|
H_FILES := $(wildcard *.h)
|
|
|
|
.PHONY: all clean
|
|
|
|
all: elfcoder
|
|
@:
|
|
|
|
elfcoder: $(C_FILES) $(H_FILES)
|
|
$(CC) $(CFLAGS) $(C_FILES) -o elfcoder
|
|
|
|
clean:
|
|
$(RM) elfcoder
|