Browse Source

Add Makefiles

stripped-german
Julian Ospald 5 years ago
parent
commit
84cb32b99c
No known key found for this signature in database GPG Key ID: 220CD1C5BDEED020
4 changed files with 70 additions and 0 deletions
  1. +20
    -0
      Makefile
  2. +22
    -0
      VL1/Makefile
  3. +23
    -0
      VL2/Makefile
  4. +5
    -0
      common.mk

+ 20
- 0
Makefile View 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
- 0
VL1/Makefile View 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
- 0
VL2/Makefile View 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

+ 5
- 0
common.mk View File

@@ -0,0 +1,5 @@
LATEX = latex -interaction=nonstopmode -shell-escape
PDFLATEX = pdflatex -synctex=1 -interaction=nonstopmode -shell-escape
RM = rm -f
RM_R = rm -rf
LN_S = ln -s

Loading…
Cancel
Save