aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 5d42a3c..4d4b61b 100755
--- a/build.sh
+++ b/build.sh
@@ -5,7 +5,12 @@ includes="$(pkg-config --cflags $dependencies)"
libs="$(pkg-config --libs $dependencies) -ldl -pthread -lm"
gcc -c src/capture/capture.c -O2 -g0 -DNDEBUG $includes
gcc -c src/capture/nvfbc.c -O2 -g0 -DNDEBUG $includes
+gcc -c src/capture/xcomposite.c -O2 -g0 -DNDEBUG $includes
+gcc -c src/gl.c -O2 -g0 -DNDEBUG $includes
+gcc -c src/cuda.c -O2 -g0 -DNDEBUG $includes
+gcc -c src/window_texture.c -O2 -g0 -DNDEBUG $includes
+gcc -c src/time.c -O2 -g0 -DNDEBUG $includes
g++ -c src/sound.cpp -O2 -g0 -DNDEBUG $includes
g++ -c src/main.cpp -O2 -g0 -DNDEBUG $includes
-g++ -o gpu-screen-recorder -O2 capture.o nvfbc.o sound.o main.o -s $libs
+g++ -o gpu-screen-recorder -O2 capture.o nvfbc.o gl.o cuda.o window_texture.o time.o xcomposite.o sound.o main.o -s $libs
echo "Successfully built gpu-screen-recorder" \ No newline at end of file