delorie.com/archives/browse.cgi | search |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Make echoing |
Date: | 29 May 2001 08:55:06 GMT |
Organization: | Aachen University of Technology (RWTH) |
Lines: | 19 |
Message-ID: | <9evo5a$fde$1@nets3.rz.RWTH-Aachen.DE> |
References: | <032201c0e74e$c83bc700$0100a8c0 AT fibertel DOT com DOT ar> <vsr4htomp52f5utvjmq5i1jp3vleiaqgoe AT 4ax DOT com> |
NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
X-Trace: | nets3.rz.RWTH-Aachen.DE 991126506 15790 137.226.32.75 (29 May 2001 08:55:06 GMT) |
X-Complaints-To: | abuse AT rwth-aachen DOT de |
NNTP-Posting-Date: | 29 May 2001 08:55:06 GMT |
Originator: | broeker@ |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk> wrote: > There is the -n switch (or --just-print), but it also stops the command > from being executed. Well, there is one remote possibility. I used it for a while back when DJGPP Bash wasn't born yet, so I had to use ms_sh (a DOS port of Korn shell) instead: make -n | sh -ex Executes the commands, and shows them, too (because of the '-x' flag). The '-e' flag causes the shell to stop at the command signalling error. But for this to work, you have to rely on certain details of the makefile. Dependencies must all be there, and there may be no sub-make invocations. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |