My Makefile looks like this:
OBJ = $(SRC:.c=.c.o) #yes it it should be renamed to .c.o, not .o LIBS = -lchecl -lchecs -lchengine-dev -lglfw -lm -lGL -lGLEW -l