Simple makefile problem - implicit rule
deed
none at none.none
Wed Jan 9 09:51:31 PST 2013
# 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?
More information about the Digitalmars-d-learn
mailing list