can someone please give me an example of a makefile. what i am trying to do is compile two files with gcc by using the make comand. right now i have

all:
gcc -o file1 file1.c
gcc -o file2 file2.c


and if i issue the make command i get

make: Fatal error in reader: Makefile, line 3: Unexpected end of line seen

help!!!
thanks.