docs/ps-bericht-ibm
annotate Makefile @ 36:fec6754e1429
improved make clean
author | schnalke@localhost.localdomain |
---|---|
date | Tue, 17 Jun 2008 14:17:23 +0200 |
parents | de3d14ca2b7a |
children | b6083dedb62c |
rev | line source |
---|---|
schnalke@0 | 1 # Makefile fuer den PS-Bericht |
schnalke@0 | 2 |
schnalke@0 | 3 SRC = ps-bericht.tex |
schnalke@0 | 4 DEP = *.tex |
schnalke@0 | 5 OBJ = ${SRC:.tex=.pdf} |
schnalke@0 | 6 |
schnalke@0 | 7 all: xpdf |
schnalke@0 | 8 |
schnalke@0 | 9 #.tex.pdf: |
schnalke@0 | 10 # @echo pdflatex $< |
schnalke@0 | 11 # @pdflatex $< |
schnalke@0 | 12 |
schnalke@0 | 13 ${OBJ}: ${SRC} $(DEP) |
schnalke@0 | 14 @echo pdflatex $@ |
schnalke@0 | 15 @pdflatex ${SRC} |
schnalke@0 | 16 @pdflatex ${SRC} |
schnalke@0 | 17 |
schnalke@0 | 18 xpdf: ${OBJ} |
schnalke@0 | 19 @echo evince $@ |
schnalke@0 | 20 @evince ${OBJ} & |
schnalke@0 | 21 |
schnalke@0 | 22 clean: |
schnalke@36 | 23 rm -f *.aux *.toc *.lof |
schnalke@0 | 24 |
schnalke@0 | 25 distclean: clean |
schnalke@0 | 26 rm -f $(OBJ) |
schnalke@0 | 27 |
schnalke@0 | 28 .PHONY: all xpdf |