![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to find a specific files in a many directory | selamba_warrior | Shell Programming and Scripting | 7 | 05-28-2008 12:41 PM |
| deleting specific lines from all files in a directory | vrms | UNIX for Dummies Questions & Answers | 3 | 04-25-2008 08:08 AM |
| List all files that contain a specific directory | Sat510 | SUN Solaris | 7 | 04-17-2007 07:57 AM |
| extract tar files without creating directory | here2learn | UNIX for Dummies Questions & Answers | 4 | 10-02-2006 04:42 PM |
| delete files in specific directory | legato | Shell Programming and Scripting | 2 | 03-29-2006 06:46 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
creating object files in a specific directory
hello,
i have a makefile in which i am specifying the option for creating the object files of the source files. The option which i am using is this : gcc -c main.c first.c by default these object files are created in the same directory in which the makefile is present. what option should i give if i want to specify a particular directory for the object files to be stored. thanx in advance svh |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
you can also use the -o flag for the object files to create them wherever you want them
__________________
War doesnt determine who is right, it determines who is left |
||||
| Google The UNIX and Linux Forums |