Original Makefile require the use of TABs to express recipes. I really hate TABs. They are the remnants of the dot matrix printers. In this simple example I'll show you how to use Makefiles without TABs!
Add the following to the beginning of the Makefile
.RECIPEPREFIX = >
Then each recipe can be written like this:
helloworld: helloworld.c
> $(CC) $(CFLAGS) -o $@ $<
Download all files for working example.