[Top][All Lists]

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

Re: makefile question: always recompile a file

From: Rainer Weikusat
Subject: Re: makefile question: always recompile a file
Date: Thu, 27 Aug 2009 12:46:37 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Jim <> writes:
> I'm using a make program similar to gnu make.  I'd like to always
> recompile a file whenever ANY file is compiled (or assembled).
> Preferably (but not absolutely necessary), I'd like the file to
> recompile if the linker runs as well, but this sounds really tough.

This is actually really simple: Use a wrapper-script which recompiles
the file and then invokes either the compiler or the linker. Should
you be using gcc, one script should be sufficient.

reply via email to

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