diff --git a/hatt/Makefile b/hatt/Makefile
index 3d74e891e2f2f054cbd84a73d2fb374af993ec60..4edc648ba4f633bfa96195de12ce36085ae3d559 100644
--- a/hatt/Makefile
+++ b/hatt/Makefile
@@ -1,6 +1,8 @@
 .PHONY: all
 
-all: tillgÄng-till-hatt.pdf
+OBJECTS:=$(wildcard *.md)
+
+all: $(OBJECTS:.md=.pdf)
 
 %.pdf: %.md
 	pandoc $< -s -o $@