From: Ian Jackson Date: Thu, 9 Jun 2016 12:01:18 +0000 (+0100) Subject: wiringpi: Enable in top-level Makefile X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl.git;a=commitdiff_plain;h=50b72ed6d566c8afbd3afb5c565eca002a737e7a wiringpi: Enable in top-level Makefile Ad-hoc check for the library header file, to avoid FTBFS on non-Raspbian hosts. --- diff --git a/Makefile b/Makefile index e815676..b457d71 100644 --- 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: