Re: clean dependencies

2001-07-18 Thread Paul D. Smith
%% "Lindner, Mike" <[EMAIL PROTECTED]> writes: lm> I'd like some way of avoiding the rebuliding of dependencies for lm> targets (liek clean) that don't need them. I thought of testing lm> the target and making the include conditional, but there doesn't lm> seem to be a way to access the t

clean dependencies

2001-07-18 Thread Lindner, Mike
I wouldn't call this a bug, but it is a problem, and the GNU make documentation lists this as the address for this kind of thing. I have a makefile that looks like: %.d: %.cpp $(SHELL) -ec '$(CC) -MM $(CPPFLAGS) $< \ | sed '\''s/\($*\)\.o[ :]*/\1.o $@ : /g'\'' > $@