make(1): pass the command-line variables to the subdir make

This commit is contained in:
rillig 2020-08-27 19:09:37 +00:00
parent 2e8adea593
commit 5be8116c2e

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.94 2020/08/26 23:00:47 rillig Exp $
# $NetBSD: Makefile,v 1.95 2020/08/27 19:09:37 rillig Exp $
# @(#)Makefile 5.2 (Berkeley) 12/28/90
PROG= make
@ -179,7 +179,7 @@ test: .MAKE
.endif
accept sync-mi: .MAKE
cd ${.CURDIR}/unit-tests && ${.MAKE} ${.TARGET}
cd ${.CURDIR}/unit-tests && ${.MAKE} ${MAKEFLAGS} ${.TARGET}
retest:
${.MAKE} -C ${.CURDIR}/unit-tests cleandir