标签:错误 error fir fine 今天 *** target 问题 iss
今天写makefile中遇到了2个问题。
Makefile missing separator. Stop 和 *** recipe commences before first target.  Stop.
当出现这种error,一般与Tab缩进有关,makefile要求命令行开头必须用tab键
clean:
    rm *.cpp~    //必须缩进出现这种error是因为命令缺了一个target。
# 错误例子
ifndef src
    @echo "src no define"
endif
# 纠正
ifndef src
warning:
    @echo "src no define"
endif标签:错误 error fir fine 今天 *** target 问题 iss
原文地址:https://www.cnblogs.com/friedCoder/p/12242384.html