diff options
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -5,7 +5,8 @@ cd ${0%/*} # go to project root FLAGS="-g -Wall -Wextra -pedantic -lpthread -std=c99" FGLFW="-lGL -lglfw" FV4L2="-lv4l2" -FPASM="-lpulse -lpulse-simple" +# FPASM="-lpulse -lpulse-simple" +FALSA="-lasound" SRC="src" OBJ="obj" BIN="bin" @@ -31,5 +32,5 @@ gcc -o $OBJ/display.o -c $SRC/display.c gcc -o $OBJ/camera.o -c $SRC/camera.c gcc -o $OBJ/audio.o -c $SRC/audio.c -gcc -o $BIN/listener $SRC/listener.c $OBJ/socket.o $OBJ/display.o $OBJ/audio.o $FLAGS $FPASM $FGLFW -gcc -o $BIN/talker $SRC/talker.c $OBJ/socket.o $OBJ/camera.o $OBJ/audio.o $FLAGS $FPASM $FV4L2 +gcc -o $BIN/listener $SRC/listener.c $OBJ/socket.o $OBJ/display.o $OBJ/audio.o $FLAGS $FALSA $FGLFW +gcc -o $BIN/talker $SRC/talker.c $OBJ/socket.o $OBJ/camera.o $OBJ/audio.o $FLAGS $FALSA $FV4L2 |