diff --git a/devLib/Makefile b/devLib/Makefile index ef94a28..ee1b456 100644 --- a/devLib/Makefile +++ b/devLib/Makefile @@ -36,6 +36,7 @@ DYNAMIC=libwiringPiDev.so.$(VERSION) #DEBUG = -g -O0 DEBUG = -O2 +CC = gcc INCLUDE = -I. DEFS = -D_GNU_SOURCE CFLAGS = $(DEBUG) $(DEFS) -Wformat=2 -Wall -Winline $(INCLUDE) -pipe -fPIC diff --git a/examples/Makefile b/examples/Makefile index edc9d4a..6d87885 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -28,6 +28,7 @@ endif #DEBUG = -g -O0 DEBUG = -O3 +CC = gcc INCLUDE = -I/usr/local/include CFLAGS = $(DEBUG) -Wall $(INCLUDE) -Winline -pipe diff --git a/gpio/Makefile b/gpio/Makefile index d832c62..68e66e7 100644 --- a/gpio/Makefile +++ b/gpio/Makefile @@ -32,6 +32,7 @@ endif #DEBUG = -g -O0 DEBUG = -O2 +CC = gcc INCLUDE = -I$(DESTDIR)$(PREFIX)/include CFLAGS = $(DEBUG) -Wall -Wextra $(INCLUDE) -Winline -pipe diff --git a/wiringPi/Makefile b/wiringPi/Makefile index e6737bd..8ebe2a6 100644 --- a/wiringPi/Makefile +++ b/wiringPi/Makefile @@ -36,6 +36,7 @@ DYNAMIC=libwiringPi.so.$(VERSION) #DEBUG = -g -O0 DEBUG = -O2 +CC = gcc INCLUDE = -I. DEFS = -D_GNU_SOURCE CFLAGS = $(DEBUG) $(DEFS) -Wformat=2 -Wall -Wextra -Winline $(INCLUDE) -pipe -fPIC diff --git a/wiringPiD/Makefile b/wiringPiD/Makefile index 0dab6b3..2ec8156 100644 --- a/wiringPiD/Makefile +++ b/wiringPiD/Makefile @@ -31,6 +31,7 @@ endif #DEBUG = -g -O0 DEBUG = -O2 +CC = gcc INCLUDE = -I$(DESTDIR)$(PREFIX)/include CFLAGS = $(DEBUG) -Wall -Wextra $(INCLUDE) -Winline -pipe