Multi-module C Programs and Makefiles
All large systems written in C ...
- are built as a large number of
.c files
- which are compiled separately
- and then combined to form an executable
Small (tiny) example:
$ gcc -c Stack.c
$ gcc -c main.c
$ gcc -o main main.o Stack.o
|
|