Spouse, I have the files bar.c & foo.c in the same folder.
bar.c & foo.c
And I have the following makefile:
foo: foo.c gcc -o foo foo.c all: c