summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1c00929..a4365e7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
-infiles := $(wildcard *.mdwn)
+markdown := $(wildcard *.mdwn)
+hypertext = $(markdown:%.mdwn=%.html)
-all: $(infiles:%.mdwn=%.html)
+all: $(hypertext)
-$(infiles:%.mdwn=%.html): %.html: %.mdwn
+%.html: %.mdwn
pandoc -f markdown -t html -o $@ $<
clean: