Makefile添加头文件依赖,解决CPP文件包含的头文件修改了,但CPP文件不重新编译的问题 PROJECT_SRC_DEPS:= (patsubst %.cpp, %.o.d, $(PROJECT_SRC))) PROJECT_SRC_DEPS:= (OBJECT_FILE)) g++ xxxxxxx -MD -MF @ -include $(PROJECT_SRC_DEPS)...