X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl.git;a=blobdiff_plain;f=Makefile;h=74fc544ad13fa7a8feb90bf7288f6ff5b7803427;hp=b457d711b0b519333abb0534469c51f12fbd7524;hb=5dc0c5b5a5d8b47aebe392186cf9afcdfc1d221f;hpb=702fa61a0538c3e49bfd8205fcf2783f8f8e1741;ds=inline diff --git a/Makefile b/Makefile index b457d71..74fc544 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,9 @@ -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