Introduction


Unlike some modern languages, C doesn’t have a prescribed way to build programs from multiple source files. There’s only cc (or gcc or clang), i.e., just the compiler. Yes, you can do something like:



$ cc -o my_prog *.c






to compile all .c files and it will work, but it doesn’t scale with the number of files since such a...