diff options
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 } |