1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/tools/build/make_check/check.mk
2012-05-30 22:27:34 +00:00

20 lines
338 B
Makefile

# $FreeBSD$
all:
${MK} ${MK_ARG}
.if exists(${.OBJDIR}/../../../usr.bin/make/make)
MK= ${.OBJDIR}/../../../usr.bin/make/make
new:
${MK} ${MK_ARG} 2>&1 | tee out-new
@echo "-=-=-=-=-=-"
make ${MK_ARG} 2>&1 | tee out-old
@echo "-=-=-=-=-=-"
diff -s out-old out-new
.else
MK= make
.endif
MK_ARG= -C ${.CURDIR}
.include <bsd.obj.mk>