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