From 181565066a970257e7ffcf1f56e069b49567a266 Mon Sep 17 00:00:00 2001 From: Kosma Moczek Date: Thu, 24 Apr 2014 11:38:57 +0200 Subject: [PATCH] Makefile: libraries belong to LDLIBS, not LDFLAGS. Fixes build under Cygwin (and possibly others). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 38c8704..075219a 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ # published by Sam Hocevar. See the COPYING file for more details. CFLAGS = -g -Wall -Wextra -Werror -std=c99 -LDFLAGS = -lcheck +LDLIBS = -lcheck all: scan-build test example @echo "+++ All good."""