diff options
Diffstat (limited to 'li/Makefile')
-rw-r--r-- | li/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/li/Makefile b/li/Makefile new file mode 100644 index 0000000..76cbdb8 --- /dev/null +++ b/li/Makefile @@ -0,0 +1,19 @@ +.POSIX: + +final.pdf: matlab_hw.pdf output.pdf + pdftk matlab_hw.pdf output.pdf output final.pdf + +matlab_hw.pdf: matlab_hw.ps + ps2pdf matlab_hw.ps + +output.pdf: output.ps + ps2pdf output.ps + +matlab_hw.ps: matlab_hw.py + vim -R matlab_hw.py -c "hardcopy > matlab_hw.ps | q" + +output.ps: output.txt + vim -R output.txt -c "hardcopy > output.ps | q" + +output.txt: matlab_hw.py + python3 matlab_hw.py > output.txt |