summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e4157e5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+default: alsa
+
+CXXLIBS=$(shell pkg-config --libs alsa) -lreichwein -lfmt
+
+alsa: alsa.cpp
+ $(CXX) $(CXXFLAGS) -O2 -g -Wall -o $@ $^ $(CXXLIBS)
+
+clean:
+ rm -f alsa
+
+sound:
+ ffmpeg -i Bmw_M3_f80_StartUp.wav -f s16le -af "pan=mono|c0=c1" Bmw_M3_f80_StartUp.s16le