chiark
/
gitweb
/
~ian
/
chiark-tcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Multiarch: Move .so's to triplet paths, and declare M-A: same.
[chiark-tcl.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index e81567631cca5dec8ef0c05f959714df675832cd..74fc544ad13fa7a8feb90bf7288f6ff5b7803427 100644
(file)
--- 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
default: all