C Makefile boilerplate
Dependencies: right now your makefile will let changes in .h to remain unnoticed.

DEPS := $(SOURCES:.c=.d)

.c.d:
    $(CC) -o $&lt; -MM $(CFLAGS)

-include $(DEPS)


PS: it is highly recommended to remove -c from CFLAGS and mention it explicitly in the .c.o rule.