-article.pdf: article.tex
- pdflatex -halt-on-error $< </dev/null
+SRCS := $(wildcard *.tex)
+
+default: article.pdf
+
+article.pdf: $(SRCS)
+ pdflatex -halt-on-error article.tex </dev/null
+
+article.ps: article.pdf
+ pdftops article.pdf article.ps
clean:
rm -f *.aux *.log *.dvi *.out *.pdf *~