Showing
3 changed files
with
5 additions
and
4 deletions
1 | -all: heap.pdf qs-partition.pdf qs-main.pdf stack-push.pdf | 1 | +all: heap.pdf qs-partition.pdf qs-main.pdf stack-push.pdf clean |
2 | gif: qs-partition.gif qs-main.gif stack-push.gif | 2 | gif: qs-partition.gif qs-main.gif stack-push.gif |
3 | mp4: qs-partition.mp4 qs-main.mp4 stack-push.mp4 | 3 | mp4: qs-partition.mp4 qs-main.mp4 stack-push.mp4 |
4 | 4 | ||
5 | %.pdf: %.py tpl.tex | 5 | %.pdf: %.py tpl.tex |
6 | - ln -sf ../codanim . | ||
7 | rm -f out.* | 6 | rm -f out.* |
8 | - python3 $< | 7 | + PYTHONPATH=..:$$PYTHONPATH python3 $< |
9 | pdflatex tpl | 8 | pdflatex tpl |
10 | pdflatex tpl | 9 | pdflatex tpl |
11 | - cp tpl.pdf $@ | 10 | + mv -f tpl.pdf $@ |
12 | 11 | ||
13 | %.gif: %.pdf | 12 | %.gif: %.pdf |
14 | rm -rf _gif | 13 | rm -rf _gif | ... | ... |
No preview for this file type
-
Please register or login to post a comment