|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#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
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| recursive copy into a directory and all its subdirectories... | EinsteinMcfly | UNIX for Dummies Questions & Answers | 3 | 03-09-2012 01:37 PM |
| Copying subdirectories of a directory to some other directory and renaming them | sholay | Shell Programming and Scripting | 8 | 06-29-2010 07:28 PM |
| Find directory name while traversing subdirectories | arun_maffy | Shell Programming and Scripting | 12 | 05-04-2010 09:01 PM |
| search files in a directory and its subdirectories | Net-Man | Shell Programming and Scripting | 1 | 09-04-2008 09:25 PM |
| How Can I Make Subdirectories In A Directory? | kprescod4158 | Shell Programming and Scripting | 7 | 12-04-2007 08:15 PM |
|
|