aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
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
}