-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make it easier to check newly-built make
- Loading branch information
obrien
authored and
obrien
committed
May 30, 2012
1 parent
2c3aca1
commit c7adc0c
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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> |