I should have mentioned: I am dealing with windows world. In MS Windows (2000) it does not do that. I took your example and modified it as below:
target: echo one pause echo two pause echo three
When I run "make target" I don't see anything until I press two keys.
Any help on windows ?
This is not reproducible here. Have a look at the following transcript:
T:\>type Makefile
all:
echo 1
pause
echo 2
pause
echo 3T:\>gmake --version GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
T:\>gmake -s 1 Press any key to continue . . . 2 Press any key to continue . . . 3
As you can see, output arrives as scheduled. Whatever problem you're dealing with, it's not part of the semantics of GNU (or any other) make. There really is no magic in make, at least not at the command-execution end: what you get from make is exactly what you would have gotten from running:
cmd /c "command line"
at a shell prompt. Also, try to provide further results in a cut-and-pasted form as above - a transcript is worth 1000 words.
-David Boyce
_______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
