[Top][All Lists]

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

Re: %-style pattern rules

From: Brian Dessent
Subject: Re: %-style pattern rules
Date: Thu, 26 Jul 2007 05:48:12 -0700

Lorenzo Bettini wrote:

> after upgrading to automake 1.10 I get these warnings
> `%'-style pattern rules are a GNU make extension
> about rules of the shape, e.g.,
> %.txt:
> how else could I implement those make rules?

The warning is telling you that using that construct will result in a
Makefile that requires GNU make.  I'm going to hazard a mostly
unsubstantiated guess that the vast majority of Automake users are also
GNU make users, but nevertheless Automake's goal is to generate portable
Makefiles that can be used by any flavor of make, thus the warning.  You
should be able to both retain portability to generic make and suppress
the warning by using a plain old suffix rule such as "".  See

There are also various ways to suppress the warning if you are
comfortable with requiring GNU make, such as adding -Wno-portabilty to


reply via email to

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