[Top][All Lists]

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

Re: [gnu-prog-discuss] Could automake-generated Makefiles required GNU m

From: Warren Young
Subject: Re: [gnu-prog-discuss] Could automake-generated Makefiles required GNU make?
Date: Wed, 23 Nov 2011 08:43:03 -0700
User-agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0

On 11/23/2011 8:08 AM, Bob Friesenhahn wrote:

Beyond that, it mostly comes down to this simple question: "What do I
type in order to invoke GNU make on this system"?

No, that's easily wrapped. Aautoconf can write out both a GNUmakefile and a Makefile.

When both are present, GNU make will read GNUmakefile unless forced to do otherwise via -f. So, it will contain the actual build instructions.

The generated Makefile is just a compatibility wrapper, to sit across the many paths whereby a non-GNU make could be run instead. Basically, it looks like this:

    all clean install [more targets]:
        gmake $@

The name 'gmake' is detected by autoconf, in the same sort of way it currently figures out what your C compiler is called.

reply via email to

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