makefile书上的一道例题,不知道,运行之后为什么为空?orgin是什么意思?

 1  bar=too
 2  #ifeq($(orgin bar),undefined)
 3      bar=foo
 4  #endif
 5  all:
 6      @echo $(orgin bar)
  运行:  

        makefile里面的ifeq需要加上“#”吗?

line2 and line5开头的“#”去掉后,出错bar:2: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.

#是注释,需要去掉
你后面的提示是你的分隔符tab不正确。