[英]In Makefile, how should I put header files in prerequisite list? (header file includes execution code lines for inside a function)
有时我们必须处理 header 文件,其中包含使用宏或先前包含文件中定义的变量的内联代码片段。 我在尝试使 C object 文件依赖于包含的 header 文件时遇到了这样的问题。 所以我在 stackoverflow 上查找并发现了这个,但是张贴者的问题不必要地复杂,所以他似乎没有得到预期的答 ...