From eff1a8321d4d7344e645621d2df6ba9c27d4e262 Mon Sep 17 00:00:00 2001 From: Jonny Ervine Date: Thu, 11 Jun 2015 12:33:04 +0800 Subject: [PATCH] modified: Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4c99818..a89f034 100644 --- a/Makefile +++ b/Makefile @@ -27,9 +27,9 @@ DEBUG = -O3 CC = gcc INCLUDE = -I/usr/local/include,/usr/include/mysql -CFLAGS = $(DEBUG) -Wall $(INCLUDE) -Winline -pipe +CFLAGS = $(DEBUG) -Wall $(INCLUDE) -Winline -pipe -std=c99 -LDFLAGS = -L/usr/local/lib,/usr/lib/arm-linux-gnueabihf -lmysqlclient -lpthread -lz -lm -lrt -ldl +LDFLAGS = -L/usr/local/lib,/usr/lib/arm-linux-gnueabihf -lmysqlclient -lpthread -lz -lm -lrt -ldl -lconfig LDLIBS = -lwiringPi -lwiringPiDev -lpthread -lm # Should not alter anything below this line