8 lines
163 B
Makefile
8 lines
163 B
Makefile
|
ALL_SOURCES := $(shell find src -name '*.d')
|
||
|
ALL_TARGETS := $(patsubst src/%.d,bin/%,$(ALL_SOURCES))
|
||
|
|
||
|
bin/%: src/%.d
|
||
|
dmd $^ -of$@
|
||
|
|
||
|
$(ALL_TARGETS): $(ALL_SOURCES)
|