on1arf/gmsk — pull request #1 by DanAnkers (2012-12-11 18:33:48+00:00)
Title: Quick Makefile correction

Hi Kristoff,
On my machine, I couldn't run "make" in the "audiotools" folder. The error I was getting was:

gcc -Wall -O3 -o audioplay audioplay.c -lportaudio -lcodec2
/usr/bin/ld: /tmp/cc0KEhNB.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in DSO /usr/lib/libpthread.so.0 so try adding it to the linker command line
/usr/lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [audioplay] Error 1

This commit adds "-lpthread" to the GCC command for every file in the audiotools folder to fix that problem.

Dan MD1CLV