all:
	make compile
	make clean
	make show
	
compile:
	pdflatex main.tex
	-bibtex main.aux
	pdflatex main.tex
	pdflatex main.tex

count:
	texcount text.tex main.tex

check:
	make compile
	make clean

clean:
	-rm *.aux
	-rm *.out
	-rm *.idx
	-rm *.log
	-rm *.toc
	-rm *.blg
	-rm *.bbl
	-rm *.lof
	-rm *.lot
	-rm *.ilg
	-rm *.nlo
	-rm *.nls

show:
	evince main.pdf &
