From 2377f55bace7427b90bc1d3bd22283c726a4d821 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 15 Oct 2015 12:47:27 +0200 Subject: Use descriptive variables for file types and implicit rule for conversion. --- Makefile | 7 ++++--- 1 file 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: -- cgit v1.2.3