diff options
author | kartofen <mladenovnasko0@gmail.com> | 2022-10-22 23:53:29 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2022-10-22 23:53:29 +0300 |
commit | f45b143dcf90970122436d10bd6226f577a9310d (patch) | |
tree | 986563759bf1f5935e15a66613e673e445b26e97 /build.sh | |
parent | f4c66a4c77e5818ca9703f59a80ea92e27ed45c6 (diff) |
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 |