|
|
Compiling Multi-File Programs |
|
Simplest way is to specify all source files to compiler.
cc -o hello_world hello_world.c hello_world_func.c
Notice header files are not included in this. They are implicitly
involved because the .c files include them.
Common errors: