2013-08-25 38 views
1

我正在将GNU makefile翻译成NMake makefile。 我碰到过这样建设GNU Makefile中传来:

DEP1 = dependencyA1.c dependencyA1.c 
DEP2 = dependencyB1.c dependencyB2.c 

libABC.a: $(DEP1) $(DEP2) 
    $(ARCHIVE) libABC.a $^ #**what this does?** 

我经常写GNU的Makefile,但它是我第一次发现这样的指令。有人更有经验可以解释它的作用吗?

在此先感谢, 此致敬礼。

+2

http://www.gnu.org/software/make/manual/make.html#Automatic-Variables – Mat

回答