如何从makefile中调用特定目标?

时间:2010-10-21 14:43:33

标签: makefile

a:
   @echo 1

b:
   @echo 2

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

如何根据我的情况在目标b内调用目标c?如果你熟悉蚂蚁,就像antcall一样。

1 个答案:

答案 0 :(得分:1)

只需说make b

相关问题