Lorenzo Bettini wrote: > after upgrading to automake 1.10 I get these warnings > > Makefile.am:47: `%'-style pattern rules are a GNU make extension > > about rules of the shape, e.g., > > %.txt: %.tt > > 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 ".txt.tt:". See <http://www.gnu.org/software/make/manual/make.html#Suffix-Rules>. There are also various ways to suppress the warning if you are comfortable with requiring GNU make, such as adding -Wno-portabilty to AM_INIT_AUTOMAKE or AUTOMAKE_OPTIONS. Brian