what does a make file do?

suppose i have the following files..

array.c
array.h
main.c

how would i do a make file?

thanx in advance.