1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
TARGET = presentation.pdf AUX = aux CONTENT = contents.latex all: $(TARGET) $(TARGET): $(CONTENT) mkdir -p $(AUX) pdflatex -output-directory=$(AUX) $(CONTENT) cp $(AUX)/*.pdf . clean: rm -r $(TARGET) $(AUX) .PHONY: all clean