LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   A complex module makefile (https://www.linuxquestions.org/questions/linux-newbie-8/a-complex-module-makefile-612208/)

Ashok_mittal 01-09-2008 04:13 AM

A complex module makefile
 
Hi all,
I have learned about writing makefile for a module. But for better
understanding can anyone provide me a complex module makefile so that i can analyze it and clear this makefile concept in Linux.
Thanks & Regards
Avinash

theNbomr 01-10-2008 03:27 PM

First, GNU make (or other make tools) is not specific to Linux. make is used on any number of OSs, and for the most part, they are compatible or at least substantially similar.
To answer your real question, you should download any open source package that is distributed as a source tarball, run its config script and then examine the included Makefile. The larger the package, the more complex the Makefile is likely to be. The GNU make documentation is also very comprehensive although not especially tutorial.
--- rod.


All times are GMT -5. The time now is 08:30 AM.