[distcc] Re: Re: Can't get distcc working properly, help!
Luke Guest
lguest at bubball.com
Thu Jul 10 09:19:57 GMT 2003
"Wayne Davison" <wayned at users.sourceforge.net> wrote in message
news:20030709155542.GA2541 at binome.blorf.net...
> On Wed, Jul 09, 2003 at 04:02:31PM +0100, Luke Guest wrote:
> > I'm using -MM (I ripped the %.d: %.cpp rule from the gmake manual). If
> > there's a better way to generate dependencies, then I don't know it.
>
> It would help if you provided the rules out of your Makefile that are
> failing. I found this in the GNU make info pages:
>
> %.d: %.c
> $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
> sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' <
> $@.$$$$ > $@; \
> rm -f $@.$$$$
%.d: %.cpp
@set -e; rm -f $@; \
$(CXX) -MM $(CXXFLAGS) $(INCLUDES) $< > $@.$$$$; \
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
rm -f $@.$$$$
Luke.
More information about the distcc
mailing list