RM=rm -f

all: clean
	pdflatex tricks
	gbk2uni tricks
	pdflatex tricks
	make clean

clean:
	$(RM) *.toc
	$(RM) *.aux
	$(RM) *.log
	$(RM) *.out
	$(RM) *.snm
	$(RM) *.nav
	$(RM) *.vrb
	$(RM) *.*~
	$(RM) *.bak
	$(RM) *.synctex.gz
	$(RM) makefile~
