help-make
[Top][All Lists]
Advanced

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

Re: Library linking


From: Brendan Heading
Subject: Re: Library linking
Date: Sun, 2 Oct 2011 18:53:21 +0100

> One typically writes:
>
>    hello : hello.o
>         gcc -o $@ $^ -lhello
>
> make will build 'hello' if either libhello or hello.o is newer than the 
> target.

I possibly did not make this clear, but I'm trying to ensure that the
rule for building libhello.a gets invoked.

Brendan



reply via email to

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