box-o-sand/d/prog-lang-book/Makefile

10 lines
165 B
Makefile
Raw Normal View History

2012-10-18 03:50:50 +00:00
ALL_SOURCES := $(shell find src -name '*.d')
ALL_TARGETS := $(patsubst src/%.d,bin/%,$(ALL_SOURCES))
bin/%: src/%.d
dmd $^ -of$@
all: $(ALL_TARGETS)
.PHONY: all