Picking up D again
This commit is contained in:
7
d/prog-lang-book/Makefile
Normal file
7
d/prog-lang-book/Makefile
Normal file
@@ -0,0 +1,7 @@
|
||||
ALL_SOURCES := $(shell find src -name '*.d')
|
||||
ALL_TARGETS := $(patsubst src/%.d,bin/%,$(ALL_SOURCES))
|
||||
|
||||
bin/%: src/%.d
|
||||
dmd $^ -of$@
|
||||
|
||||
$(ALL_TARGETS): $(ALL_SOURCES)
|
Reference in New Issue
Block a user