2
a:
   @echo 1

b:
   @echo 2

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

How can I invoke target b inside target c, based on my condition? Sort of like an antcall, if you're familiar with ant.

Geo
  • 93,257
  • 117
  • 344
  • 520

1 Answers1

4

Just say make b

Justin Ethier
  • 131,333
  • 52
  • 229
  • 284