mirror of
https://github.com/pret/pmd-red.git
synced 2026-04-16 01:56:34 -05:00
* Sync tools/ directory with pokeemerald We really ought to have a central repository for this mess * Make incremental builds faster Scientists hate him! He made NODEP disappear with this ONE SIMPLE TRICK!!! Want to know more? -> __click here__ <- * Disassemble some more tables and the first graphic
25 lines
312 B
Makefile
25 lines
312 B
Makefile
CC ?= gcc
|
|
|
|
CFLAGS = -Wall -Wextra -Wno-switch -Werror -std=c11 -O2
|
|
|
|
LIBS = -lm
|
|
|
|
SRCS = main.c extended.c
|
|
|
|
ifeq ($(OS),Windows_NT)
|
|
EXE := .exe
|
|
else
|
|
EXE :=
|
|
endif
|
|
|
|
.PHONY: all clean
|
|
|
|
all: aif2pcm$(EXE)
|
|
@:
|
|
|
|
aif2pcm$(EXE): $(SRCS)
|
|
$(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(LIBS)
|
|
|
|
clean:
|
|
$(RM) aif2pcm aif2pcm.exe
|