diff options
-rw-r--r-- | sound_detector/Makefile | 9 | ||||
-rw-r--r-- | sound_detector/main.cpp | 2 |
2 files changed, 10 insertions, 1 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 + diff --git a/sound_detector/main.cpp b/sound_detector/main.cpp index ca8b804..1385eea 100644 --- a/sound_detector/main.cpp +++ b/sound_detector/main.cpp @@ -32,7 +32,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <complex.h> +//#include <complex.h> //c++ #include <limits> |