On Tue, 21 Jun 2022 at 09:50, Ming Cheng via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > 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? Yes, the GNU Make manual is detailed and complete, see https://www.gnu.org/software/make/manual/html_node/Catalogue-of-Rules.html#Catalogue-of-Rules This is off-topic for the gcc-help list though.