diff options
-rw-r--r-- | tests/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile index 12ba8497..d77fb1d1 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -3,9 +3,10 @@ ifdef _SRCDIR_ _SRCDIR_ := $(_SRCDIR_)tests/ endif -LFLAGS +=-lcheck +CFLAGS += $(shell pkg-config --cflags check) +LFLAGS += $(shell pkg-config --libs check) -all: check +all: check ./check $(CHECKFLAGS) clean: |