diff options
author | kartofen <mladenovnasko0@gmail.com> | 2022-10-18 23:25:46 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2022-10-18 23:25:46 +0300 |
commit | 145775818375bafcf191a7b4986e57a00b41ac68 (patch) | |
tree | b539525328515401be6bc2a6c9fb17841b8a16d1 /build.sh | |
parent | 7e64d0c78e8a21f2ede7eab1303758391001c0dc (diff) |
use glfw and some minor refactoring
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,8 +2,8 @@ cd ${0%/*} # go to project root -FLAGS="-Wall -Wextra -g -pedantic -lpthread -D_GNU_SOURCE" -FGLUT="-lglut -lGLU -lGL" +FLAGS="-g -Wall -Wextra -pedantic -lpthread" +FGLFW="-lGL -lglfw" FV4L2="-lv4l2" FPASM="-lpulse -lpulse-simple" SRC="src" @@ -31,5 +31,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 $FGLUT +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 |