PROJECT_SRC_DEPS:=(patsubst %.cpp, %.o.d, $(PROJECT_SRC)))
PROJECT_SRC_DEPS:=(OBJECT_FILE))
g++ xxxxxxx -MD -MF @
-include $(PROJECT_SRC_DEPS)
PROJECT_SRC_DEPS:=(OBJECT_FILE))
g++ xxxxxxx -MD -MF @
-include $(PROJECT_SRC_DEPS)
本文标题:Makefile添加头文件依赖,解决CPP文件包含的头文件修改了
本文链接:https://www.haomeiwen.com/subject/brlkvltx.html
网友评论