[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: makefile question: always recompile a file
From: |
André Gillibert |
Subject: |
Re: makefile question: always recompile a file |
Date: |
Wed, 26 Aug 2009 23:19:14 +0200 |
Jim <james.ro123@yahoo.com> wrote:
> Hi,
>
> 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.
So, it means that any object or executable file depends on this target.
Assuming you've macros OBJS and EXES containing a list of object files and
executable files, this should look like:
$(OBJS) $(EXES): your_compiled_file
your_compiled_file:
your command line
--
André Gillibert
- makefile question: always recompile a file, Jim, 2009/08/26
- Re: makefile question: always recompile a file, Chris McDonald, 2009/08/26
- Re: makefile question: always recompile a file, Eric Sosman, 2009/08/26
- Re: makefile question: always recompile a file, Gordon Burditt, 2009/08/26
- Re: makefile question: always recompile a file,
André Gillibert <=
- Re: makefile question: always recompile a file, Ahem A Rivet's Shot, 2009/08/26
- Re: makefile question: always recompile a file, Rainer Weikusat, 2009/08/28
- Re: makefile question: always recompile a file, Scott Lurndal, 2009/08/28
- Re: makefile question: always recompile a file, Jim, 2009/08/28