Thursday, July 31, 2008

Generating dependencies for makefile using a script:


In a makefile we mention the dependency of the object file on other files. These dependencies can be written in a file using script.

This script prepares a list of files included in the cpp file and writes it to a file in the format, required for the makefile. Now this file is included in the make file for specifying the dependencies.

No comments:

Search

My Blog List