# Give all the source directories to make VPATH = $(sort $(dir $(SRC)) obj/%.o : %.cpp $(COMPILE.cpp) -o $@ $<
the above code has following error *** commands commence before first target. Stop.