+# dil
+######
+
+DIL_SRC = $(wildcard dil/src/*.d dil/src/cmd/*.d dil/src/util/*.d \
+ dil/src/dil/*.d dil/src/dil/*/*.d)
+
+.PHONY: dil-nop-stats
+dil-nop-stats: $O/stats/dil-nop.eps
+
+.PHONY: dil-build
+dil-build: $O/bin/dil
+$O/bin/dil: override DFLAGS += -Idil/src
+$O/bin/dil: $(patsubst %.d,$O/%.o,$(DIL_SRC)) $(LIBTANGO)
+ $(P_DC) $(DC) $(LDFLAGS) -L-lmpfr -L-lgmp -of$@ $^
+
+$O/bin/dil-nop: $O/bin/dil
+ @$(P_LN) $(LN) -sf $(<F) $@
+
+