help-make
[Top][All Lists]
Advanced

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

Re: Make isn't recompiling changed source files for me.


From: Maxim Yegorushkin
Subject: Re: Make isn't recompiling changed source files for me.
Date: Tue, 08 Aug 2006 22:10:01 +0100
User-agent: Thunderbird 1.5.0.4 (X11/20060614)

gamer Chad wrote:

On 8/8/06, Maxim Yegorushkin <address@hidden> wrote:
Sounds like a dependency for .d is missing. Are you using different versions of
make on Debian and Kubuntu?

Yes I am using different versions.  3.80 on Debian (the old system),
3.81 beta 4 on Kubuntu (the new system).

I had similar problems while switching from 3.79 to 3.81. The problem was in broken makefiles which happened to work somehow with 3.79.

As far as the dependency - what kind of dependencies must be filled
for Make to do this?

There should be a complete path in the dependency graph from the .d source to the binary. Something like:

source.o : source.d ; # whatever is needed to produce .o
binary: source.o; $(CXX) -o $@ $+

The graph might be incomplete if you happen to use recursive makefiles.





reply via email to

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