From ceb14fd5301a7156102b62baa9add6c2beed351a Mon Sep 17 00:00:00 2001 From: Julian T Date: Wed, 18 Sep 2019 19:46:40 +0200 Subject: Initial --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a2fd408 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ + +MD_FILES = $(wildcard *.md) $(wildcard */*.md) +HTML_FILES = $(patsubst %.md, %.html, $(MD_FILES)) + + +%.html: %.md + pandoc $^ --output $@ + +.PHONY: all clean + +all: $(HTML_FILES) + +clean: + rm -rf $(HTML_FILES) -- cgit v1.2.3