[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dependency of a archive
From: |
Pascal Bourguignon |
Subject: |
Re: Dependency of a archive |
Date: |
Mon, 10 Oct 2005 19:50:50 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Hansen" <bluesboys@-remove-this-hotmail.com> writes:
> How do I configure my makefile to check if one of the included archives has
> changed?
> I have a number of modules that are compiled into archives - these archives
> are internal compiled with -MD and it works fine. But when I want to compile
> my application it dosn't notice if an archive has been updated.
>
> How can I make my this happen?
application:archive
$(LD) -p application ... archive
There's also a notation to update part of an archive:
foolib.a(hack.o) : hack.o
ar cr foolib.a hack.o
--
__Pascal Bourguignon__ http://www.informatimago.com/
In a World without Walls and Fences,
who needs Windows and Gates?