-1

I have a linux makefile that I have to modify so that it compiles on windows with nmake and cl instead of gcc. From what I've seen in the make manual, $^ expands to the dependecy list for that given rule. However, it's not recognized by nmake. Could you please tell me the equivalent windows automatic variable?

thehousedude
  • 611
  • 6
  • 16

1 Answers1

0

(Answered in the comments)

@Etan Reisner wrote:

https://msdn.microsoft.com/en-us/library/cbes8ded.aspx

After reading the Microsoft manual, the OP concluded:

The windows equivalent seems to be $**

Community
  • 1
  • 1
Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129