[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Destination directory for object files
From: |
Ralf Wildenhues |
Subject: |
Re: Destination directory for object files |
Date: |
Tue, 3 Mar 2009 22:37:56 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
* 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