On 10 Jul 2003, Luke Guest <[EMAIL PROTECTED]> wrote:
> 
> "Wayne Davison" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > 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) $< > [EMAIL PROTECTED]; \
> > sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' <
> > [EMAIL PROTECTED] > $@; \
> > rm -f [EMAIL PROTECTED]
> 
> %.d: %.cpp
>  @set -e; rm -f $@; \
>  $(CXX) -MM $(CXXFLAGS) $(INCLUDES) $< > [EMAIL PROTECTED]; \
>  sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < [EMAIL PROTECTED] > $@; \
>  rm -f [EMAIL PROTECTED]

-MM seems to work fine for me in 2.8:

$ distcc c++ -MM ./cases/hello.c
hello.o: cases/hello.c cases/foo.h

What *specifically* is going wrong?

-- 
Martin 
__ 
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options: 
http://lists.samba.org/cgi-bin/mailman/listinfo/distcc

Reply via email to