X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=Makefile;h=74fc544ad13fa7a8feb90bf7288f6ff5b7803427;hb=4ff268d236e6db369cfbc9f89f81e3f44a40fa71;hp=e81567631cca5dec8ef0c05f959714df675832cd;hpb=6fd9d63aabc27f4bffc59fcb84e19792cfed6294;p=chiark-tcl.git diff --git a/Makefile b/Makefile index e815676..74fc544 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,13 @@ -SUBDIRS= base adns hbytes cdb crypto dgram tuntap +SUBDIRS= base adns hbytes cdb crypto dgram + +ifneq ($(wildcard /usr/include/linux/if_tun.h),) +SUBDIRS+= tuntap +endif + +ifneq ($(wildcard /usr/include/wiringPi.h /usr/include/arm-*/wiringPi.h),) +SUBDIRS+= wiringpi +endif default: all