summaryrefslogtreecommitdiff
path: root/tools/aif2pcm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aif2pcm/Makefile')
-rw-r--r--tools/aif2pcm/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/aif2pcm/Makefile b/tools/aif2pcm/Makefile
new file mode 100644
index 0000000..790ed71
--- /dev/null
+++ b/tools/aif2pcm/Makefile
@@ -0,0 +1,18 @@
+CC = gcc
+
+CFLAGS = -Wall -Wextra -Wno-switch -Werror -std=c11 -O2 -s
+
+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