On Wed, Jun 03, 2026 at 03:06:29PM +0900, Maxim Cournoyer wrote: > I see. It'd be nice to have an Automake switch to tell it to > unapologetically target GNU Make ;-). We already have GNU Make > constructs used in the Makefile.am file of the Guix project, and since > it can only run on GNU/Linux (or Hurd) systems, it doesn't seem a > problem to me that it depends on GNU Make for its build system.
This comes up from time to time, but I don't understand why people try to use a portability tool like Automake to write non-portable makefiles... That being said, if you really want to incorporate GNU make constructs into your makefiles, you can avoid all problems of the form "Automake does not pass through my GNU-specific make syntax unmodified" by just putting these into GNUmakefile, and then use an include directive to pull in the rest of the rules from the (Automake-generated) regular Makefile. Cheers, Nick
