diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile index 5464f9cdb84c..c7daea1ca12a 100644 --- a/lib/libstand/Makefile +++ b/lib/libstand/Makefile @@ -143,9 +143,10 @@ SRCS+= splitfs.c .include .if ${MACHINE_ARCH} == "amd64" -${SRCS:M*.c:R:S/$/.o/g}: machine - -beforedepend: machine +beforedepend ${OBJS}: machine +cleandepend: cleanmachine +cleanmachine: + rm -f machine machine: ln -s ${.CURDIR}/../../sys/i386/include machine