Add test/ directory with some example code.
[problempack.git] / test / Makefile
1 # each MetaPost graphic has it's own file,
2 # so the basic definitions should get bundled out into an external file
3 # (encourages reuse anyway, so it's good for you :p)
4
5 all : sols.pdf probs.pdf
6
7 view : vprobs vsols
8
9 vprobs : probs.pdf
10         xpdf $< &
11
12 vsols : sols.pdf
13         xpdf $< &
14
15 %.pdf : %.tex problems.tex
16         TEXINPUTS="..:" pdflatex $<
17         TEXINPUTS="..:" pdflatex $<
18
19 semi-clean :
20         rm -f *.1 *.log *.mp *.mpx *.aux *.out *.cut
21
22 clean : semi-clean
23         rm -f *.pdf