X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=74fc544ad13fa7a8feb90bf7288f6ff5b7803427;hb=190fdf431e65f0276ce3c8c566248582f7c95abe;hp=e81567631cca5dec8ef0c05f959714df675832cd;hpb=f160ced257ab2fde31c54f7fb50317796f571be8;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