docs/DesignPatterns
view Makefile @ 2:961cb2d9b1b5
added make clean
author | meillo@marmaro.de |
---|---|
date | Wed, 30 May 2007 12:40:26 +0200 |
parents | fe9c99202977 |
children | 0923f2ae50a5 |
line source
1 # Makefile for latex docs
3 SRC = main.tex
4 OBJ = ${SRC:.tex=.pdf}
6 all: xpdf
8 #.tex.pdf:
9 # @echo pdflatex $<
10 # @pdflatex $<
12 ${OBJ}: ${SRC}
13 @echo pdflatex $@
14 @pdflatex ${SRC}
15 @pdflatex ${SRC}
17 xpdf: ${OBJ}
18 @echo xpdf $@
19 @xpdf -z page ${OBJ}
20 @rm ${OBJ}
22 clean:
23 echo 'cleaning ...'
24 rm *.{aux,lof,log,lot,nav,out,snm,toc}
26 .PHONY: all xpdf