Fw: Makefile format

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

 



________________________________
From: Ming Cheng <chengm349@xxxxxxxxxxx>
Sent: Tuesday, June 21, 2022 8:41 AM
To: Jonathan Wakely <jwakely.gcc@xxxxxxxxx>
Subject: Re: Makefile format

Hi Jonathan Wakely,

Thanks for your kind first step. I should have made my question more clearer.

We have a module called abc. Amazingly user can just define abc_type, abc_target; and GNU make seems to me that  according to its rules will implicitly look for these bars if defined. Does the same doc have these rules description?

Thanks
Ming
________________________________
From: Jonathan Wakely <jwakely.gcc@xxxxxxxxx>
Sent: Monday, June 20, 2022 6:45 AM
To: Ming Cheng <chengm349@xxxxxxxxxxx>
Cc: gcc-help <gcc-help@xxxxxxxxxxx>
Subject: Re: Makefile format



On Mon, 20 Jun 2022, 05:58 Ming Cheng via Gcc-help, <gcc-help@xxxxxxxxxxx<mailto:gcc-help@xxxxxxxxxxx>> wrote:
Hi,

In a .mk makefile, there are these kinds of lines:
modules := abc  xyz
abc_type := static_library
abc_target := libabc.a


I know traditional Makefile format(simple usage). Where can find these "new" format guide?

GCC requires GNU Make. This syntax is documented in the GNU Make manual:

https://www.gnu.org/software/make/manual/html_node/Flavors.html#Flavors



Thanks
Ming Cheng




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux