From 267348af03852cea2f48407a833c061462820dc7 Mon Sep 17 00:00:00 2001 From: Carsten Hartenfels Date: Sat, 23 Nov 2019 18:05:44 -0500 Subject: [PATCH] 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. --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index f6b3073..5ecb08a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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)