--- Makefile.orig +++ Makefile @@ -26,10 +26,10 @@ MFILES= dev/pccard/card_if.m dev/pccard/ kern/device_if.m kern/serdev_if.m uartlirc_if.h: uartlirc_if.m - ${AWK} -f @/tools/makeobjops.awk uartlirc_if.m -h + ${AWK} -f ${SYSDIR}/tools/makeobjops.awk uartlirc_if.m -h uartlirc_if.c: uartlirc_if.m - ${AWK} -f @/tools/makeobjops.awk uartlirc_if.m -c + ${AWK} -f ${SYSDIR}/tools/makeobjops.awk uartlirc_if.m -c devuart: mkdir -p uart @@ -43,6 +43,6 @@ devuart: done clean: - @-rm -r uart @ machine x86 *.bak *.o *.ko* *_if.[ch] pccarddevs.h + @-rm -r uart ${_ILINKS} *.bak *.orig *.o *.ko* *_if.[ch] pccarddevs.h .include