Hello,

I've made my first C program. It's quite big, so I decided to divide it into multiple files. The program did work as a whole.
Some files include more than 1 function.
Each .c contains the function definitions, and for each .c I've created a .h file with the same name, that contains the function prototypes, the librairies that need to be included, and protection against double inclusion. Each .c only contains one include, which is the related .h (for example, the first line of function.c is #include "function.h")
I hope I was clear enough as to what I did.
I don't have a makefile because I don't know how to make it yet.
When I write gcc -o prog main.c, I get many "undefined reference to '...' "

Can you help me to make this work please ?

thanks.