[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why rules depends on the same target behave differently if the comma
From: |
Paul Smith |
Subject: |
Re: Why rules depends on the same target behave differently if the commands are different? |
Date: |
Mon, 26 Apr 2010 07:40:55 -0400 |
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 <address@hidden> 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