diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-06-04 22:09:57 +0000 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-06-04 22:09:57 +0000 |
commit | 91251712e6b4dc0fa32b2ff465b9006fe3aa8bb6 (patch) | |
tree | 9e14240862b5b0e99625e0b3fa929b0fb0c5ba80 /build.sh | |
parent | 7f658e81ab32ea2474e1fce3759b5050a8e79738 (diff) | |
download | vr-video-player-91251712e6b4dc0fa32b2ff465b9006fe3aa8bb6.tar.gz vr-video-player-91251712e6b4dc0fa32b2ff465b9006fe3aa8bb6.tar.bz2 vr-video-player-91251712e6b4dc0fa32b2ff465b9006fe3aa8bb6.zip |
Add simple build script instead of depending on sibs
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..bfb0aec --- /dev/null +++ b/build.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +dependencies="glm glew sdl2 openvr x11 xcomposite" +includes=$(pkg-config --cflags $dependencies) +libs=$(pkg-config --libs $dependencies) +gcc -c src/window_texture.c -O2 $includes +g++ -c src/main.cpp -O2 $includes +g++ -o vr-video-player window_texture.o main.o $libs |