* Jeff Ward wrote on Tue, Mar 03, 2009 at 10:31:01PM CET: > > What I was hoping for was an ability to make the rule look something > like the following: > .cpp.o: > if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o > objects/$@ $<; \ > > This would cause my object files to be placed somewhere other than the > current directory. I know this is probably a stretch and might be going > against the core capabilities and features of the tool. But I can hope.
The question is why do you want this, but not VPATH? The other thing you can look at is the subdir-objects option. Cheers, Ralf
