Build tests with the same flags as the library

In particular, with the same warning flags. That means it now warns
about a few things during compilation that the following commits are
gonna fix.
This commit is contained in:
Carsten Hartenfels
2019-11-23 18:05:44 -05:00
parent f9abf2a7df
commit 267348af03

View File

@@ -21,7 +21,8 @@ libcglm_la_LDFLAGS = -no-undefined -version-info 0:1:0
checkLDFLAGS = -L./.libs \
-lm \
-lcglm
checkCFLAGS = -I./include
checkCFLAGS = $(AM_CFLAGS) \
-I./include
check_PROGRAMS = test/tests
TESTS = $(check_PROGRAMS)