summaryrefslogtreecommitdiff
path: root/Makefile
blob: c12b344106dbc670c7eba291ef5164925b741d7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)