diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c12b344 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +BASENAMES=$(basename $(wildcard *.md)) +SOURCES=$(foreach source,$(BASENAMES),$(source).md) +TARGETS=$(foreach target,$(BASENAMES),$(target).html) + +.PHONY: all +all: $(TARGETS) + +%.html: %.md + marked -o $@ $< + +.PHONY: clean +clean: + rm -f $(TARGETS) |