|
@@ -32,7 +32,7 @@ Q ?= @ |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
STATIC=libwiringPi.a |
|
|
STATIC=libwiringPi.a |
|
|
DYNAMIC=$(LIB_PATH)libwiringPi.so.$(VERSION) |
|
|
|
|
|
|
|
|
DYNAMIC=$(LIB_PATH)libwiringPi.so |
|
|
|
|
|
|
|
|
#DEBUG = -g -O0 |
|
|
#DEBUG = -g -O0 |
|
|
DEBUG = -O2 |
|
|
DEBUG = -O2 |
|
@@ -78,7 +78,7 @@ $(STATIC): $(OBJ) |
|
|
|
|
|
|
|
|
$(DYNAMIC): $(OBJ) |
|
|
$(DYNAMIC): $(OBJ) |
|
|
$Q echo "[Link (Dynamic)]" |
|
|
$Q echo "[Link (Dynamic)]" |
|
|
$Q $(CC) -shared -Wl,-soname,libwiringPi.so$(WIRINGPI_SONAME_SUFFIX) -o $@ $(LIBS) $(OBJ) |
|
|
|
|
|
|
|
|
$Q $(CC) -shared -Wl,-soname,libwiringPi.so -o $@ $(LIBS) $(OBJ) |
|
|
|
|
|
|
|
|
.c.o: |
|
|
.c.o: |
|
|
$Q echo [Compile] $< |
|
|
$Q echo [Compile] $< |
|
|