summaryrefslogtreecommitdiff
path: root/sound_detector/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sound_detector/Makefile')
-rw-r--r--sound_detector/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/sound_detector/Makefile b/sound_detector/Makefile
new file mode 100644
index 0000000..c38b514
--- /dev/null
+++ b/sound_detector/Makefile
@@ -0,0 +1,9 @@
+all:
+ g++ -c main.cpp -std=gnu++11 -o main.o
+ g++ -o sound_detector main.o -lboost_system -lboost_date_time -lboost_thread -lboost_random-mt -lboost_filesystem -lportaudio -lvorbis -lvorbisenc -logg -Wl,-O1 -s
+clean:
+ rm *.o
+
+clean-all:
+ rm *.o sound_detector
+