|
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
[Prev in Thread] | Current Thread | [Next in Thread] |