diff --git a/Makefile b/Makefile.in
similarity index 56%
rename from Makefile
rename to Makefile.in
index 52691774492bc553bcd19aa1302b556fdfed1dbd..06e32859997a4c7894595e24272d75a88a3e0c3b 100644
--- a/Makefile
+++ b/Makefile.in
@@ -1,6 +1,11 @@
+PDFLATEX = @PDFLATEX@
+
 macroprocessor.pdf: macroprocessor.tex old-design.pdf new-design.pdf
-	pdflatex macroprocessor
-	pdflatex macroprocessor
+ifdef PDFLATEX
+	$(PDFLATEX) macroprocessor
+	$(PDFLATEX) macroprocessor
+endif
 
 clean:
 	rm -f macroprocessor.pdf *.toc *.aux *.log *.nav *.snm *.vrb *.out *~
+.PHONY: clean