summaryrefslogtreecommitdiff
path: root/userland/pcm/Makefile
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-11-30 17:49:02 +0100
committerAnton Kling <anton@kling.gg>2024-11-30 17:49:37 +0100
commiteed6ff683cf124f43a21191ffa11278d9dbd7ff3 (patch)
treeb3621490015340a489d496bc1026ac99fb4096ad /userland/pcm/Makefile
parentc1b3c95536ae7c66f7f5d522348f95440dab5ff0 (diff)
audio/pcm: Add a proram to play audio files
Diffstat (limited to 'userland/pcm/Makefile')
-rw-r--r--userland/pcm/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/userland/pcm/Makefile b/userland/pcm/Makefile
new file mode 100644
index 0000000..7a558a3
--- /dev/null
+++ b/userland/pcm/Makefile
@@ -0,0 +1,15 @@
+CC="i686-sb-gcc"
+CFLAGS=-ggdb -O0 -Wall -Wextra -pedantic
+LDFLAGS=
+BIN=pcm
+OBJ=pcm.o
+all: $(BIN)
+
+%.o: %.c
+ $(CC) $(CFLAGS) -o $@ -c $<
+
+$(BIN): $(OBJ)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
+
+clean:
+ rm $(BIN) $(OBJ)