diff options
-rw-r--r-- | sound_detector/Makefile.mingw32 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sound_detector/Makefile.mingw32 b/sound_detector/Makefile.mingw32 new file mode 100644 index 0000000..00e2207 --- /dev/null +++ b/sound_detector/Makefile.mingw32 @@ -0,0 +1,11 @@ +all: + i686-pc-mingw32-gcc -c wingetopt.c -o wingetopt.o + i686-pc-mingw32-g++ -c main.cpp -std=gnu++0x -DBOOST_ALL_NO_LIB -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_THREAD_USE_LIB -DBOOST_THREAD_USE_LIB=1 -DUNICODE -DWIN32 -DWIN32_LEAN_AND_MEAN -D_UNICODE -D_WIN32 -D_WIN32_WINNT=0x0500 -D__USE_W32_SOCKETS -DCURL_STATICLIB -o main.o + i686-pc-mingw32-g++ -o sound_detector.exe *.o -lwldap32 -liconv -lwldap32 -lws2_32 -lz -lgmp -lz -lboost_system-mt -lboost_date_time-mt -lboost_thread_win32-mt -lboost_chrono-mt -lboost_random-mt -lboost_filesystem-mt -lmswsock -lws2_32 -lgdi32 -lcrypt32 -lz -lportaudio -lwinmm -lm -ldsound -lole32 -lwinmm -lm -luuid -lsetupapi -lole32 -lwinmm -lm -lole32 -luuid -lwinmm -lm -lole32 -luuid -lvorbis -lvorbisenc -logg -Wl,-O1 -s + upx --best sound_detector.exe +clean: + rm *.o + +clean-all: + rm *.o *.exe + |