The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How Can I Make Subdirectories In A Directory? kprescod4158 Shell Programming and Scripting 7 12-04-2007 06:15 PM
Problem with changing directory and subdirectories to read only lalelle Shell Programming and Scripting 5 08-22-2007 05:49 AM
How to remove directory with subdirectories and files? ppa108 UNIX for Dummies Questions & Answers 7 06-12-2007 09:12 PM
searching files through all subdirectories beneath the current directory milagros Shell Programming and Scripting 5 05-15-2007 01:00 PM
list largest files in a directory & its subdirectories igidttam UNIX for Dummies Questions & Answers 6 09-25-2006 08:31 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 10-28-2005
Registered User
 

Join Date: Oct 2005
Posts: 1
makefiles in a directory and subdirectories

I need to develop a makefile that spans across directories. For example, let's say i have an upper level directory (main) and about 2 subdirectories. I want my .cpp files and .o files to be in one subdirectory. I want my .a files to be in the other subdirectory. The .a files are made up of the .o files in the other subdirectory. Does anyone know how to do the makefiles for this? I can have a makefile at each subdirectory and then one in the upper level directory. I would like to use VPATH for this is possible. Sorry if this is confusing, I am rather new to Linux. Thanks
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:35 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0