Makefile Grammar

后端 未结 2 986
情话喂你
情话喂你 2020-12-25 13:06

Is there anywhere a precise makefile grammar definition? Or at least some common subset since I guess that there are some flavors. Such a grammar that could be used

2条回答
  •  旧巷少年郎
    2020-12-25 13:47

    It seems there is no official grammar for gnu make, and ...

    It would be tricky to write a grammar for make, since the grammar is extremely context-dependent.

    As said by Paul D. Smith in a message in the gnu make mailing list. Paul D. Smith is the official maintainer of gnu make.

提交回复
热议问题