소스 검색

Make external CC and CFLAGS declaration possible

pull/73/head
Bertrand Roussel 4 년 전
부모
커밋
33fbcd7e50
10개의 변경된 파일20개의 추가작업 그리고 20개의 파일을 삭제
  1. +2
    -2
      devLib/Makefile
  2. +2
    -2
      examples/Gertboard/Makefile
  3. +2
    -2
      examples/Makefile
  4. +2
    -2
      examples/PiFace/Makefile
  5. +2
    -2
      examples/PiGlow/Makefile
  6. +2
    -2
      examples/q2w/Makefile
  7. +2
    -2
      examples/scrollPhat/Makefile
  8. +2
    -2
      gpio/Makefile
  9. +2
    -2
      wiringPi/Makefile
  10. +2
    -2
      wiringPiD/Makefile

+ 2
- 2
devLib/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 =



+ 2
- 2
examples/Gertboard/Makefile 파일 보기

@@ -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


+ 2
- 2
examples/Makefile 파일 보기

@@ -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


+ 2
- 2
examples/PiFace/Makefile 파일 보기

@@ -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


+ 2
- 2
examples/PiGlow/Makefile 파일 보기

@@ -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


+ 2
- 2
examples/q2w/Makefile 파일 보기

@@ -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


+ 2
- 2
examples/scrollPhat/Makefile 파일 보기

@@ -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


+ 2
- 2
gpio/Makefile 파일 보기

@@ -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


+ 2
- 2
wiringPi/Makefile 파일 보기

@@ -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


+ 2
- 2
wiringPiD/Makefile 파일 보기

@@ -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


불러오는 중...
취소
저장