chiark / gitweb /
Build system: Add -I$(DESTDIR)$(PREFIX)/include to devLib Makefile
[wiringPi.git] / devLib / Makefile
index 0fb00336f7e1873af49df46d166ddf105355ec65..4f853a4710e9df8a1efe258699842052cdeb9f02 100644 (file)
@@ -37,7 +37,7 @@ DYNAMIC=libwiringPiDev.so.$(VERSION)
 #DEBUG = -g -O0
 DEBUG  = -O2
 CC     = gcc
-INCLUDE        = -I.
+INCLUDE        = -I. -I$(DESTDIR)$(PREFIX)/include
 DEFS   = -D_GNU_SOURCE
 CFLAGS = $(DEBUG) $(DEFS) -Wformat=2 -Wall -Winline $(INCLUDE) -pipe -fPIC