chiark / gitweb /
wiringpi: changelog: Mention that wiringpi not in Debian proper
[chiark-tcl.git] / Makefile
index e81567631cca5dec8ef0c05f959714df675832cd..b457d711b0b519333abb0534469c51f12fbd7524 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,10 @@
 
 SUBDIRS=       base adns hbytes cdb crypto dgram tuntap
 
+ifneq ($(wildcard /usr/include/wiringPi.h /usr/include/arm-*/wiringPi.h),)
+SUBDIRS+=      wiringpi
+endif
+
 default: all
 
 clean all: