Unix questions - Looking for the simpliest makefile to maintain object code in subdirectory :-)

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > October 2004 > Looking for the simpliest makefile to maintain object code in subdirectory :-)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Looking for the simpliest makefile to maintain object code in subdirectory :-)
Christopher M. Lusardi

2004-10-07, 7:49 am

I am looking for a completely explained example that will compile
several files together, put the object code in a subdirectory when the
source file changes, and use the object files in that subdirectory to
create the executable in the directory containing the makefile?

My program is written in several languages.

My problem is, currently, when I type make, it compiles everything
every time as if the pre-existing object code does not exist!

Sorry, I can't post my Makefile.

Christopher Lusardi
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com