소스 검색
Merge pull request #73 from CoRfr/master
Make external CC declaration possible
pull/85/head
Philip Howard
4 년 전
committed by
GitHub
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
10개의 변경된 파일과
20개의 추가작업 그리고
20개의 파일을 삭제
-
devLib/Makefile
-
examples/Gertboard/Makefile
-
examples/Makefile
-
examples/PiFace/Makefile
-
examples/PiGlow/Makefile
-
examples/q2w/Makefile
-
examples/scrollPhat/Makefile
-
gpio/Makefile
-
wiringPi/Makefile
-
wiringPiD/Makefile
|
|
@@ -36,10 +36,10 @@ DYNAMIC=libwiringPiDev.so.$(VERSION) |
|
|
|
|
|
|
|
#DEBUG = -g -O0 |
|
|
|
DEBUG = -O2 |
|
|
|
CC = gcc |
|
|
|
CC ?= gcc |
|
|
|
INCLUDE = -I. |
|
|
|
DEFS = -D_GNU_SOURCE |
|
|
|
CFLAGS = $(DEBUG) $(DEFS) -Wformat=2 -Wall -Winline $(INCLUDE) -pipe -fPIC |
|
|
|
CFLAGS = $(DEBUG) $(DEFS) -Wformat=2 -Wall -Winline $(INCLUDE) -pipe -fPIC $(EXTRA_CFLAGS) |
|
|
|
|
|
|
|
LIBS = |
|
|
|
|
|
|
|
|
|
@@ -11,9 +11,9 @@ endif |
|
|
|
|
|
|
|
#DEBUG = -g -O0 |
|
|
|
DEBUG = -O3 |
|
|
|
CC = gcc |
|
|
|
CC ?= gcc |
|
|
|
INCLUDE = -I/usr/local/include |
|
|
|
CFLAGS = $(DEBUG) -Wall $(INCLUDE) -Winline -pipe |
|
|
|
CFLAGS = $(DEBUG) -Wall $(INCLUDE) -Winline -pipe $(EXTRA_CFLAGS) |
|
|
|
|
|
|
|
LDFLAGS = -L/usr/local/lib |
|
|
|
LDLIBS = -lwiringPi -lwiringPiDev -lpthread -lm |
|
|
|
|
|
@@ -28,9 +28,9 @@ endif |
|
|
|
|
|
|
|
#DEBUG = -g -O0 |
|
|
|
DEBUG = -O3 |
|
|
|
CC = gcc |
|
|
|
CC ?= gcc |
|
|
|
INCLUDE = -I/usr/local/include |
|
|
|
CFLAGS = $(DEBUG) -Wall $(INCLUDE) -Winline -pipe |
|
|
|
CFLAGS = $(DEBUG) -Wall $(INCLUDE) -Winline -pipe $(EXTRA_CFLAGS) |
|
|
|
|
|
|
|
LDFLAGS = -L/usr/local/lib |
|
|
|
LDLIBS = -lwiringPi -lwiringPiDev -lpthread -lm -lcrypt -lrt |
|
|
|
|
|
@@ -28,9 +28,9 @@ endif |
|
|
|
|
|
|
|
#DEBUG = -g -O0 |
|
|
|
DEBUG = -O3 |
|
|
|
CC = gcc |
|
|
|
CC ?= gcc |
|
|
|
INCLUDE = -I/usr/local/include |
|
|
|
CFLAGS = $(DEBUG) -Wall $(INCLUDE) -Winline -pipe |
|
|
|
CFLAGS = $(DEBUG) -Wall $(INCLUDE) -Winline -pipe $(EXTRA_CFLAGS) |
|
|
|
|
|
|
|
LDFLAGS = -L/usr/local/lib |
|
|
|
LDLIBS = -lwiringPi -lwiringPiDev -lpthread -lm |
|
|
|
|
|
@@ -28,9 +28,9 @@ endif |
|
|
|
|
|
|
|
#DEBUG = -g -O0 |
|
|
|
DEBUG = -O3 |
|
|
|
CC = gcc |
|
|
|
CC ?= gcc |
|
|
|
INCLUDE = -I/usr/local/include |
|
|
|
CFLAGS = $(DEBUG) -Wall $(INCLUDE) -Winline -pipe |
|
|
|
CFLAGS = $(DEBUG) -Wall $(INCLUDE) -Winline -pipe $(EXTRA_CFLAGS) |
|
|
|
|
|
|
|
LDFLAGS = -L/usr/local/lib |
|
|
|
LDLIBS = -lwiringPi -lwiringPiDev -lpthread -lm |
|
|
|
|
|
@@ -28,9 +28,9 @@ endif |
|
|
|
|
|
|
|
#DEBUG = -g -O0 |
|
|
|
DEBUG = -O3 |
|
|
|
CC = gcc |
|
|
|
CC ?= gcc |
|
|
|
INCLUDE = -I/usr/local/include |
|
|
|
CFLAGS = $(DEBUG) -Wall $(INCLUDE) -Winline -pipe |
|
|
|
CFLAGS = $(DEBUG) -Wall $(INCLUDE) -Winline -pipe $(EXTRA_CFLAGS) |
|
|
|
|
|
|
|
LDFLAGS = -L/usr/local/lib |
|
|
|
LDLIBS = -lwiringPi -lwiringPiDev -lpthread -lm |
|
|
|
|
|
@@ -28,9 +28,9 @@ endif |
|
|
|
|
|
|
|
#DEBUG = -g -O0 |
|
|
|
DEBUG = -O3 |
|
|
|
CC = gcc |
|
|
|
CC ?= gcc |
|
|
|
INCLUDE = -I/usr/local/include |
|
|
|
CFLAGS = $(DEBUG) -Wall $(INCLUDE) -Winline -pipe |
|
|
|
CFLAGS = $(DEBUG) -Wall $(INCLUDE) -Winline -pipe $(EXTRA_CFLAGS) |
|
|
|
|
|
|
|
LDFLAGS = -L/usr/local/lib |
|
|
|
LDLIBS = -lwiringPi -lwiringPiDev -lpthread -lm |
|
|
|
|
|
@@ -32,9 +32,9 @@ endif |
|
|
|
|
|
|
|
#DEBUG = -g -O0 |
|
|
|
DEBUG = -O2 |
|
|
|
CC = gcc |
|
|
|
CC ?= gcc |
|
|
|
INCLUDE = -I$(DESTDIR)$(PREFIX)/include |
|
|
|
CFLAGS = $(DEBUG) -Wall -Wextra $(INCLUDE) -Winline -pipe |
|
|
|
CFLAGS = $(DEBUG) -Wall -Wextra $(INCLUDE) -Winline -pipe $(EXTRA_CFLAGS) |
|
|
|
|
|
|
|
LDFLAGS = -L$(DESTDIR)$(PREFIX)/lib |
|
|
|
LIBS = -lwiringPi -lwiringPiDev -lpthread -lrt -lm -lcrypt |
|
|
|
|
|
@@ -36,10 +36,10 @@ DYNAMIC=libwiringPi.so.$(VERSION) |
|
|
|
|
|
|
|
#DEBUG = -g -O0 |
|
|
|
DEBUG = -O2 |
|
|
|
CC = gcc |
|
|
|
CC ?= gcc |
|
|
|
INCLUDE = -I. |
|
|
|
DEFS = -D_GNU_SOURCE |
|
|
|
CFLAGS = $(DEBUG) $(DEFS) -Wformat=2 -Wall -Wextra -Winline $(INCLUDE) -pipe -fPIC |
|
|
|
CFLAGS = $(DEBUG) $(DEFS) -Wformat=2 -Wall -Wextra -Winline $(INCLUDE) -pipe -fPIC $(EXTRA_CFLAGS) |
|
|
|
#CFLAGS = $(DEBUG) $(DEFS) -Wformat=2 -Wall -Wextra -Wconversion -Winline $(INCLUDE) -pipe -fPIC |
|
|
|
|
|
|
|
LIBS = -lm -lpthread -lrt -lcrypt |
|
|
|
|
|
@@ -31,9 +31,9 @@ endif |
|
|
|
|
|
|
|
#DEBUG = -g -O0 |
|
|
|
DEBUG = -O2 |
|
|
|
CC = gcc |
|
|
|
CC ?= gcc |
|
|
|
INCLUDE = -I$(DESTDIR)$(PREFIX)/include |
|
|
|
CFLAGS = $(DEBUG) -Wall -Wextra $(INCLUDE) -Winline -pipe |
|
|
|
CFLAGS = $(DEBUG) -Wall -Wextra $(INCLUDE) -Winline -pipe $(EXTRA_CFLAGS) |
|
|
|
|
|
|
|
LDFLAGS = -L$(DESTDIR)$(PREFIX)/lib |
|
|
|
LIBS = -lwiringPi -lwiringPiDev -lpthread -lrt -lm -lcrypt |
|
|
|