ADOC_FILES := $(wildcard *.adoc) HTML_FILES := $(ADOC_FILES:%.adoc=%.html) all: $(HTML_FILES) %.html : %.adoc asciidoctor $^ -o $@