[Top][All Lists]

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

GNU make 3.80/3.79.1: Pattern rule broken?

From: amontse
Subject: GNU make 3.80/3.79.1: Pattern rule broken?
Date: 16 Sep 2005 04:30:32 -0700
User-agent: G2/0.2


I have the following makefile that the gnu make (3.80 and 3.79.1)
behaves in a unpredictable way:

XX_%ExGw_mt : XX_%ExGw

XX_%Gateway : XX_%ExGw

XX_%ExGw :
       touch foo.c

If you try make XX_ABCExGw_mt, GNU make correctly derives the rule and
execution the touch statement.

If you try make XX_Gateway, GNU make fails with the message "No rule to
make target XX_ABCGateway".

Is the GNU make broken on pattern rule or is there any syntax error in
my makefile?

Thanks for your advice and help in advance.


reply via email to

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