Archiving a bunch of old stuff
This commit is contained in:
9
oldstuff/d/prog-lang-book/Makefile
Normal file
9
oldstuff/d/prog-lang-book/Makefile
Normal file
@@ -0,0 +1,9 @@
|
||||
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
|
Reference in New Issue
Block a user