# makefile ----------- OBJS = main.obj othermodule.obj DC = dmd DCFLAGS = -c
all : $(OBJS)
%.obj : %.d
$(DC) $< $(DCFLAGS)
# --------------------
Error on line 9: expecting target : dependencies
* main.d, othermodule.d and makefile are in the same folder.
* make is executed in this folder from the command line
Anyone cares to explain what's wrong/missing?
