Multi-module C Programs and Makefiles (cont)
While developing a large system ...
- edit one
.c file at a time (e.g. gedit Stack.c )
- recompile just that
.c file (e.g. gcc -c Stack.c )
- then combine all
.o files again (e.g. gcc *.o )
If you edit several .c files ...
- need to keep track of which ones you changed
- compile all the modified files (and just those?)
- then combine all
.o files again
|