summaryrefslogtreecommitdiffstats
path: root/tools/build/make_check/check.mk
blob: f2d666d5ca43b806e21863fb31c59160b7113460 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $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>
OpenPOWER on IntegriCloud