X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl.git;a=blobdiff_plain;f=Makefile;h=74fc544ad13fa7a8feb90bf7288f6ff5b7803427;hp=e81567631cca5dec8ef0c05f959714df675832cd;hb=1bb5d87c00dff7d3134ec9c7f0272ca0dd34b662;hpb=6fd9d63aabc27f4bffc59fcb84e19792cfed6294 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