Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make(1): allow "make retest" directly from the ...



details:   https://anonhg.NetBSD.org/src/rev/b3065e985445
branches:  trunk
changeset: 937023:b3065e985445
user:      rillig <rillig%NetBSD.org@localhost>
date:      Thu Aug 06 05:27:31 2020 +0000

description:
make(1): allow "make retest" directly from the main directory

diffstat:

 usr.bin/make/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 623916145368 -r b3065e985445 usr.bin/make/Makefile
--- a/usr.bin/make/Makefile     Wed Aug 05 16:36:33 2020 +0000
+++ b/usr.bin/make/Makefile     Thu Aug 06 05:27:31 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.79 2020/08/03 20:26:09 rillig Exp $
+#      $NetBSD: Makefile,v 1.80 2020/08/06 05:27:31 rillig Exp $
 #      @(#)Makefile    5.2 (Berkeley) 12/28/90
 
 PROG=  make
@@ -6,6 +6,7 @@
 SRCS+= make.c make_malloc.c metachar.c parse.c
 SRCS+= str.c strlist.c suff.c targ.c trace.c var.c util.c
 
+# Whether to generate a coverage report after running the tests.
 USE_COVERAGE?= no              # works only with gcc; clang9 fails to link
 .if ${USE_COVERAGE} == "yes"
 COPTS+=                --coverage -O0 -ggdb
@@ -13,6 +14,7 @@
 CLEANFILES+=   ${SRCS:.c=.gcda} ${SRCS:.c=.gcno} ${SRCS:=.gcov}
 .endif
 
+# Whether to compile using the Undefined Behavior Sanitizer (GCC, Clang).
 USE_UBSAN?=    no
 .if ${USE_UBSAN} == "yes"
 COPTS+=                -fsanitize=undefined
@@ -51,6 +53,8 @@
 ${SRCS:M*.c:.c=.o}: buf.h config.h dir.h hash.h job.h lst.h make.h make_malloc.h
 ${SRCS:M*.c:.c=.o}: meta.h metachar.h nonints.h pathnames.h sprite.h strlist.h trace.h
 
+TARGETS+=      retest
+
 .include <bsd.prog.mk>
 .include <bsd.subdir.mk>
 



Home | Main Index | Thread Index | Old Index