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