xref: /freebsd/tools/build/make_check/check.mk (revision b9f654b163bce26de79705e77b872427c9f2afa1)
1# $FreeBSD$
2
3all:
4	${MK} ${MK_ARG}
5
6.if exists(${.OBJDIR}/../../../usr.bin/make/make)
7MK=	${.OBJDIR}/../../../usr.bin/make/make
8new:
9	${MK} ${MK_ARG} 2>&1 | tee out-new
10	@echo "-=-=-=-=-=-"
11	make ${MK_ARG} 2>&1 | tee out-old
12	@echo "-=-=-=-=-=-"
13	diff -s out-old out-new
14.else
15MK=	make
16.endif
17MK_ARG=	-C ${.CURDIR}
18
19.include <bsd.obj.mk>
20