[Coco] OT: Unix/Linux Makefile question

KnudsenMJ at aol.com KnudsenMJ at aol.com
Tue Feb 1 16:53:47 EST 2005


 
In a message dated 2/1/05 4:35:50 PM Eastern Standard Time,  
KnudsenMJ at aol.com writes:

Does  Unix/Linux Make have a keyword you can set so that all individual   
object files (*.o) will be looked for and placed in a subdirectory of  where 
all  
your C files are?

OS9 Make has an RDIR keyword  (macro) for the .r files.  Maybe I should  try 
ODIR?
Or maybe  look in some of my Linux source dirs, steda bugging you guys   ;-)


Well, I've been looking, and it seems Linux Make either has no such simple  
feature, or the source dirs I looked in aren't using it.
 
Really, in OS9 Make you say RDIR=blat, and all your compiled .C and .A  files 
will produce .O files under blat/*.o.  And all those Make  dependencies will 
look for .O files in blat/.
 
Would sure help unclutter my source dir.  Any ideas?  I've tried  ODIR 
already, no dice.  --Mike K.
 



More information about the Coco mailing list