示例参考:makefile传入编译参数给C文件-CSDN博客
只有当目标文件发生修改,makefile才会重新编译。
如果想强制重新编译,有两种方法:
方法1
make clean make
方法2
make -B
京公网安备 11010502049817号