help-make
[Top][All Lists]
Advanced

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

Re: link problem


From: Kristof Provost
Subject: Re: link problem
Date: Fri, 28 Mar 2008 10:54:59 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

On 2008-03-28 12:05:12 (+0200), Vad N <address@hidden> wrote:
>    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) ?
Try $(LD).

Kristof




reply via email to

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