help-make
[Top][All Lists]
Advanced

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

Re: RE: real-time log


From: Vikas Joshi
Subject: Re: RE: real-time log
Date: Wed, 23 Mar 2005 21:27:42 -0600

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 ? 

-Vikas

---------Included Message----------
>Date: Wed, 23 Mar 2005 21:47:53 -0500
>From: "Paul D. Smith" <address@hidden>
>To: "Joshi, Vikas" <address@hidden>
>Cc: <address@hidden>
>Subject: RE: real-time log
>
>%% "Joshi, Vikas" <address@hidden> writes:
>
>  jv> The output of the commands it's done executing. For example if one has
>
>  jv> target:
>  jv>  command 1
>  jv>  command 2
>  jv>  command 3
>  jv>  command 4
>
>  jv> And if one invokes make target on the above file then make prints
>  jv> the output to the standard output when it's completely done.
>
>Not true.  Make doesn't do anything at all with the stdout of
>commands that it invokes; they are still attached directly to the same
>stdout as make itself.
>
>If you run this makefile:
>
>    target: ; echo one; sleep 1; echo two; sleep 1; echo three
>
>you'll see "one" printed, followed by a 1 second wait, then "two" printed,
>followed by a 1 second wait, then "three" printed.
>
>-- 
>-------------------------------------------------------------------------------
> Paul D. Smith <address@hidden>          Find some GNU make tips at:
> http://www.gnu.org                      http://make.paulandlesley.org
> "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
>
>
---------End of Included Message----------






reply via email to

[Prev in Thread] Current Thread [Next in Thread]