![]() |
|
#1
|
|||
|
|||
How to write efficient Makefiles for gcc complierHi all,
I am looking for some text or pointers or tutorials on writing Makefiles to compile the large C programs broken down into multiple .C & .h files. I have basic idea about Makefile and I am using one with some basic directives,but its not good enough or rather scalable when my program will grow beyond 10 files. Pls let me know. Thanks, |
|||
|
#2
|
|||
|
|||
|
Quote:
This is an unbelievably powerful program, and I applaud your interest in gaining expertise. I have two ideas; pick one (or both): 1. enter info make at a Linux command line. Most Linux distributions have the info program and have info-readable versions of the documentation. Don't have "info" or don't know how to use "info"? Then enter man info. Don't have "man" (you Windows folks), or don't like using "info" for some reason?, then try the following: 2. Go to google (or your favorite search engine), enter make+tutorial, and you will see lots of references (most are the same tutorial). Pick one and go for it! I have always been kind of a minimalist, and have reduced my philosophy of life to a single sentence: Quote:
I now find it necessary to make it twice as long (but, I hope, not too much harder to remember, since I'm getting a little abssnt-minded these days): So, I have revised my mantra: Quote:
Regards, Dave |
Recent GIDBlog
R for statistics by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Yet another CD burner problem: Lite-On LSC-24082K | Erwin | Computer Hardware Forum | 1 | 22-May-2004 11:28 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The