Hi Paul,

Beta release 3.81b4 behaves correctly, I suppose it was a known bug that has been fixed after 3.80.

I wasn't able to find any information on the archives, sorry.
Also sorry for the double post, I was struggling with an email change.

Regards,
Simon.



"Paul D. Smith" <[EMAIL PROTECTED]>
Sent by: "Paul Smith" <[EMAIL PROTECTED]>

01/13/2006 07:15 PM

Please respond to
"Paul D. Smith" <[EMAIL PROTECTED]>

To
[EMAIL PROTECTED]
cc
[email protected]
Subject
Re: Odd behavior using multiple rules for the same target





%% [EMAIL PROTECTED] writes:

 sdg> all : target0.ts
 sdg>         @echo Done

 sdg> target%.ts : file1
 sdg>         @echo $?

 sdg> target%.ts : file2
 sdg>         @echo $?

 sdg> dummy : file1
 sdg>         @echo $@

 sdg> <end_code>

 sdg> Any ideas why this is, and how to solve this in a somewhat
 sdg> elegant manner?

This is working properly for me (that is, the same way as the one
without the dummy rule) in the latest CVS code.  Try the current beta:

   ftp://alpha.gnu.org/gnu/make/make-3.81beta4.tar.gz

and see if that helps.

--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]>          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


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

Reply via email to