index 41bb64dd4de7004604e6c61904b76b6513322b0d..73ead529cf75f350042ad7606acf8c9f4270301c 100644 (file)
# ${.ALLSRC} $^
# ${.IMPSRC} $<
+INCDIR ?= /usr/include
+
all: Termios.txt
PY = python2.7
${PY} ./untempl.py Termios.txt.templ $@
defs-termios:
- ./dumpdefs.py 2 0 i /usr/include/i386-linux-gnu/bits/termios.h > $@
+ ./dumpdefs.py 2 0 i ${INCDIR}/i386-linux-gnu/bits/termios.h > $@
clean:
rm -f Termios.txt ${DEFS}