diff options
author | cathook <b01902109@csie.ntu.edu.tw> | 2014-06-01 13:56:57 +0800 |
---|---|---|
committer | cathook <b01902109@csie.ntu.edu.tw> | 2014-06-01 13:56:57 +0800 |
commit | d5052f1c296dddf51b3e83d59bf3e3c1952cb2d0 (patch) | |
tree | 16f7920c5079e0aefcf9509d2dbab59c464d42bd /LaTex/Makefile | |
parent | bd58f63900410ec4764031f2e6de2d75e91434b3 (diff) | |
download | meow-d5052f1c296dddf51b3e83d59bf3e3c1952cb2d0.tar meow-d5052f1c296dddf51b3e83d59bf3e3c1952cb2d0.tar.gz meow-d5052f1c296dddf51b3e83d59bf3e3c1952cb2d0.tar.bz2 meow-d5052f1c296dddf51b3e83d59bf3e3c1952cb2d0.tar.lz meow-d5052f1c296dddf51b3e83d59bf3e3c1952cb2d0.tar.xz meow-d5052f1c296dddf51b3e83d59bf3e3c1952cb2d0.tar.zst meow-d5052f1c296dddf51b3e83d59bf3e3c1952cb2d0.zip |
big chnage
Diffstat (limited to 'LaTex/Makefile')
-rw-r--r-- | LaTex/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/LaTex/Makefile b/LaTex/Makefile new file mode 100644 index 0000000..b0fd0da --- /dev/null +++ b/LaTex/Makefile @@ -0,0 +1,32 @@ +SOURCE = source.tex +TARGET = output + + +################################################## + +FLAGS=-interaction=nonstopmode -jobname=$(TARGET) + +OUTFILE_PDF=$(TARGET).pdf +OUTFILE_LOG=$(TARGET).log +OUTFILE_AUX=$(TARGET).aux + +################################################## + +.PHONY: all view clean + +all: $(OUTFILE_PDF) + +view: $(OUTFILE_PDF) + kde-open $(OUTFILE_PDF) + +clean: + -rm $(OUTFILE_PDF) + -rm $(OUTFILE_LOG) + -rm $(OUTFILE_AUX) + +$(OUTFILE_PDF): $(SOURCE) + xelatex $(FLAGS) $(SOURCE) + +two: $(SOURCE) + xelatex $(FLAGS) $(SOURCE) + xelatex $(FLAGS) $(SOURCE) |