# $Id: Makefile 402 2008-03-31 10:05:44Z oneiros $
all: 2.3gbpng.pdf 2.3gbpdf.pdf 4.2gbpng.pdf 4.2gbpdf.pdf

2.3gbpng.pdf: 2.3gbpng.tex poles.png
	pdftex 2.3gbpng.tex
	@echo "check the first numbers to see if LFS works; they must be > 2147483648"
	@tail 2.3gbpng.pdf|head -2
	
2.3gbpdf.pdf: 2.3gbpdf.tex poles.pdf
	pdftex 2.3gbpdf.tex
	@echo "check the first numbers to see if LFS works; they must be > 2147483648"
	@tail 2.3gbpdf.pdf|head -2
	
4.2gbpng.pdf: 4.2gbpng.tex poles.png
	pdftex 4.2gbpng.tex
	@echo "check the first numbers to see if LFS works; they must be > 4294967296"
	@tail 4.2gbpng.pdf|head -2
	
4.2gbpdf.pdf: 4.2gbpdf.tex poles.pdf
	pdftex 4.2gbpdf.tex
	@echo "check the first numbers to see if LFS works; they must be > 4294967296"
	@tail 4.2gbpdf.pdf|head -2
	
poles.png:
	ppmpat -poles 1250 1250 |pnmtopng > poles.png

poles.pdf: poles.png
	convert poles.png poles.pdf

.PHONY: clean clobber
clean:
	rm -f *.log

clobber: clean
	rm -f *.png *.pdf
