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