chiark / gitweb /
wiringpi: Enable in top-level Makefile
[chiark-tcl.git] / Makefile
index e815676..b457d71 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: