On Sun, 2010-04-25 at 15:13 -0500, Peng Yu wrote:

> /tmp/double_targets_same_command$ make
> a
> echo 'a' > a; sleep 1; echo 'b' > b

Here one command (the one for building "a") also builds "b", so when
make goes to see if "b" is out of date or not, it finds that "b" is
up-to-date (it was just built) and so there's nothing to be done for
"b", and make stops.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[email protected]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to