# Makefile for generating postscript file $(TARGET).pdf from $(TARGET).tex 
TARGET = Present01




all: $(TARGET).pdf

 
$(TARGET).pdf: $(TARGET)-tmp.pdf
	ppower4 $(TARGET)-tmp.pdf $(TARGET).pdf
	acroread $(TARGET).pdf &



$(TARGET)-tmp.pdf: $(TARGET).tex
	pdflatex $(TARGET).tex
#	gv $(TARGET)-tmp.pdf &
#	acroread $(TARGET)-tmp.pdf &
	mv $(TARGET).pdf $(TARGET)-tmp.pdf

$(TARGET).ps: $(TARGET).dvi
	dvps $(TARGET)

$(TARGET).dvi: $(TARGET).tex 
	latex $(TARGET).tex
	latex $(TARGET).tex


clean:
	cleantex $(TARGET) 
	rm -f $(TARGET).pdf $(TARGET)-tmp.pdf $(TARGET).log $(TARGET).aux

