mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-18 04:27:38 +01:00
19 lines
245 B
Makefile
19 lines
245 B
Makefile
CC ?= gcc
|
|
|
|
CFLAGS = -Wall -Wextra -Wno-switch -Werror -std=c11 -O2
|
|
|
|
LIBS = -lm
|
|
|
|
SRCS = main.c extended.c
|
|
|
|
.PHONY: all clean
|
|
|
|
all: aif2pcm
|
|
@:
|
|
|
|
aif2pcm: $(SRCS)
|
|
$(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS) $(LIBS)
|
|
|
|
clean:
|
|
$(RM) aif2pcm aif2pcm.exe
|