【问题标题】:How can I call a specific target from my makefile?如何从我的 makefile 调用特定目标?
【发布时间】:2010-10-21 14:43:32
【问题描述】:
a:
   @echo 1

b:
   @echo 2

c:
   @if [ ! -d  somefolder ]; \
   then \
 # how do I invoke target b here?
   fi;

如何根据我的情况在目标c 内调用目标b?有点像 antcall,如果你熟悉 ant。

【问题讨论】:

    标签: makefile


    【解决方案1】:

    只要说make b

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-10-31
      • 2023-03-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多