Add Makefiles
This commit is contained in:
parent
06f6c99867
commit
84cb32b99c
20
Makefile
Normal file
20
Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
include common.mk
|
||||
|
||||
|
||||
all: VL1 VL2
|
||||
|
||||
VL1:
|
||||
$(MAKE) -C VL1
|
||||
$(LN_S) VL1/VL1.pdf .
|
||||
|
||||
VL2:
|
||||
$(MAKE) -C VL2
|
||||
$(LN_S) VL2/VL2.pdf .
|
||||
|
||||
clean:
|
||||
$(MAKE) -C VL1 clean
|
||||
$(MAKE) -C VL2 clean
|
||||
$(RM) VL1.pdf VL2.pdf
|
||||
|
||||
|
||||
.PHONY: all clean VL1 VL2
|
22
VL1/Makefile
Normal file
22
VL1/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
include ../common.mk
|
||||
|
||||
|
||||
all: VL1.pdf VL1_handout.pdf
|
||||
|
||||
VL1.dvi: VL1.tex
|
||||
$(LATEX) $<
|
||||
|
||||
VL1.pdf: VL1.tex
|
||||
$(PDFLATEX) $<
|
||||
|
||||
VL1_handout.dvi: VL1_handout.tex
|
||||
$(LATEX) $<
|
||||
|
||||
VL1_handout.pdf: VL1_handout.tex
|
||||
$(PDFLATEX) $<
|
||||
|
||||
clean:
|
||||
$(RM_R) "_minted-VL1" "_minted-VL1_handout"
|
||||
$(RM) VL1.dvi VL1_handout.dvi VL1.pdf VL1_handout.pdf *.log *.aux *.nav *.snm *.toc *.out *.vrb *.gz
|
||||
|
||||
.PHONY: all clean
|
23
VL2/Makefile
Normal file
23
VL2/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
include ../common.mk
|
||||
|
||||
|
||||
all: VL2.pdf VL2_handout.pdf
|
||||
|
||||
VL2.dvi: VL2.tex
|
||||
$(LATEX) $<
|
||||
|
||||
VL2.pdf: VL2.tex
|
||||
$(PDFLATEX) $<
|
||||
|
||||
VL2_handout.dvi: VL2_handout.tex
|
||||
$(LATEX) $<
|
||||
|
||||
VL2_handout.pdf: VL2_handout.tex
|
||||
$(PDFLATEX) $<
|
||||
|
||||
clean:
|
||||
$(RM_R) "_minted-VL2" "_minted-VL2_handout"
|
||||
$(RM) VL2.dvi VL2_handout.dvi VL2.pdf VL2_handout.pdf *.log *.aux *.nav *.snm *.toc *.out *.vrb *.gz
|
||||
|
||||
|
||||
.PHONY: all clean
|
Loading…
Reference in New Issue
Block a user