make: Preparing
1
1 Preparing and Running Make
1 ==========================
1
1 To prepare to use 'make', you must write a file called the "makefile"
1 that describes the relationships among files in your program and
1 provides commands for updating each file. In a program, typically, the
1 executable file is updated from object files, which are in turn made by
1 compiling source files.
1
1 Once a suitable makefile exists, each time you change some source
1 files, this simple shell command:
1
1 make
1
1 suffices to perform all necessary recompilations. The 'make' program
1 uses the makefile data base and the last-modification times of the files
1 to decide which of the files need to be updated. For each of those
1 files, it issues the recipes recorded in the data base.
1
1 You can provide command line arguments to 'make' to control which
1 files should be recompiled, or how. ⇒How to Run 'make' Running.
1