summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2024-01-03 14:45:38 +0100
committerRoland Reichwein <mail@reichwein.it>2024-01-03 14:45:38 +0100
commit0e70fa4865c94bbaaa5d6f62396c13b43a3c6676 (patch)
tree63d7bae457cfaf40e2502a85098d35f3999f1977 /Makefile
Initial filesHEADmaster
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