xref: /freebsd/tools/build/make_check/check.mk (revision c6ec7d31830ab1c80edae95ad5e4b9dba10c47ac)
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