[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Odd behavior using multiple rules for the same target
From: |
Paul D. Smith |
Subject: |
Re: Odd behavior using multiple rules for the same target |
Date: |
Fri, 13 Jan 2006 13:15:16 -0500 |
%% address@hidden 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 <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