Shell script makefile

Is there a way to write a makefile for all the source files in a directory with a shell script?

What do you have - does each c source file make a separate executable or are there lots of dependencies?

there's only one executable with dependencies