Next: Improved Type Checking Up: Compiling the Program Previous: The C Compiler

Make, a Program Builder

UNIX also includes a very useful program called make. Make allows very complicated programs to be compiled quickly, by reference to a configuration file (usually called Makefile). If your C program is a single file, you can usually use make by simply typing


make testprog

This will compile testprog.c and put the executable code in testprog.


craa27@strath.ac.uk
Tue Jan 17 11:40:37 GMT 1995