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