NetBSD-Bugs archive

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

bin/51637: make doesn't accept .WAIT on the command line



>Number:         51637
>Category:       bin
>Synopsis:       make doesn't accept .WAIT on the command line
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 20 01:25:00 +0000 2016
>Originator:     David A. Holland
>Release:        NetBSD 7.99.30 (20160607)
>Organization:
>Environment:
System: NetBSD macaran 7.99.30 NetBSD 7.99.30 (MACARAN) #39: Tue Jun  7 15:26:15 EDT 2016  dholland@macaran:/usr/src/sys/arch/amd64/compile/MACARAN amd64
Architecture: x86_64
Machine: amd64
>Description:

If you want make to build multiple targets, you can pass multiple
targets on the command line:

   % make foo bar

but if you need them to happen serially, you're stuck:

   % make -j8 foo .WAIT bar
   make: make: don't know how to make .WAIT. Stop

(also the error message shouldn't say "make:" twice...)

>How-To-Repeat:

>Fix:
Not sure why this doesn't already work; I suppose targets on the
command line pass through different processing from targets on the RHS
of a rule, but there probably isn't any good reason for that.



Home | Main Index | Thread Index | Old Index