aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-09-14 00:52:24 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commit7d663615b2a44715e7447a40cae467d7d4e38b9c (patch)
tree612e81f55ca73c3da868bd2ab6cd96ae6ac30a15 /build.sh
parent7103d3a1df6c7fee6e8efbe3588204d1e869004e (diff)
Start on opengl test, fix stack alignment before call (sys-v)
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/build.sh b/build.sh
index 568c6c4..415fac5 100755
--- a/build.sh
+++ b/build.sh
@@ -70,10 +70,9 @@ build_test() {
set +x
source_files_test=$(find "tests" -name "*.c")
- if [ -z "$NO_TEST" ]; then
- set -x
- time $CC $source_files_test $CFLAGS $LIBS -o test "./libamalgam.so"
- fi
+ set -x
+ time $CC $source_files_test $CFLAGS $LIBS -o test "./libamalgam.so" $(pkg-config --cflags --libs glfw3 glew)
+ set +x
build_compile_commands $source_files $source_files_test
}