help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

link problem


From: Vad N
Subject: link problem
Date: Fri, 28 Mar 2008 12:05:12 +0200

Hello
 
I have a makefile
 
main: libmain.a
          $(LINK) $^ -o $@
 
The above makefile yield following:
libmain.a -o main
make: libmain.a: command not found
make *** [main] Error 127
 
I think make cannot recognize a $(LINK) variable and try to interpret the next word like command and of course libmain.a is not a command.
But what i need to use insteed $(LINK) ?
 
 
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]