# Makefile for presentations : K. Lemmens Nov. 1999 .SUFFIXES: .dvi .tex .ps .pdf TOBJ = $(wildcard *.tex) OBJ = $(TOBJ:.tex=) DOBJ = $(OBJ:=.dvi) POBJ = $(OBJ:=.ps) AOBJ = $(OBJ:=.pdf) CURRENT=installation ### Implicit rules : .tex.dvi: $<.tex pslatex $< .dvi.ps: $<.dvi dvips $< .ps.pdf: $<.ps ps2pdf $< ### Explicit rules : all: ${POBJ} xview : ${DOBJ} @for file in ${DOBJ}; \ do xdvi -geometry 1100x750 -s 7 -paper a4r $$file; \ done; pview : ${POBJ} @rm -f ${DOBJ} @for file in ${POBJ}; \ do gv -bg lightyellow -antialias -spartan \ -scale 0 -media BBox $$file; \ done; aview : ${AOBJ} @rm -f ${DOBJ} ${POBJ} @for file in ${AOBJ}; \ do acroread $$file; \ done; new: @touch *.tex @make aview clean: rm -f *~ *.log *.toc *.aux *.bak test: echo ${OBJ} echo ${DOBJ} echo ${POBJ} echo ${TOBJ} echo ${AOBJ}