chiark / gitweb /
tcmdifgen: Replace deprecated `use IO;' with `use IO::File'.
[chiark-tcl.git] / Makefile
index b457d711b0b519333abb0534469c51f12fbd7524..74fc544ad13fa7a8feb90bf7288f6ff5b7803427 100644 (file)
--- 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