From 695926ba3345916e1ae66fc2e7ca221692595508 Mon Sep 17 00:00:00 2001 From: Tommy Olofsson <tommy.olofsson.90@gmail.com> Date: Tue, 22 Apr 2014 12:27:37 +0200 Subject: [PATCH] Fixed warning in makefile. --- lib/c/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/c/Makefile b/lib/c/Makefile index d0f9d53..8edd0f6 100644 --- a/lib/c/Makefile +++ b/lib/c/Makefile @@ -18,7 +18,7 @@ else ifeq ($(UNAME_S),Darwin) LDFLAGS=-L. LDLIBS=-llabcomm MAKESHARED=clang -o $1 -shared -Wl,-install_name,$2 $3 -lc -else if $(findstring(CYGWIN,$(UNAME_S)) +else ifneq ($(findstring CYGWIN,$(UNAME_S)),) CFLAGS=-std=c99 -g -Wall -Werror -O3 -I. -Itest CC=$(CROSS_COMPILE)gcc LD=$(CROSS_COMPILE)ld -- GitLab