Parcourir la source

Add Makefiles

stripped-german
Julian Ospald il y a 9 ans
Parent
révision
84cb32b99c
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 220CD1C5BDEED020
4 fichiers modifiés avec 70 ajouts et 0 suppressions
  1. +20
    -0
      Makefile
  2. +22
    -0
      VL1/Makefile
  3. +23
    -0
      VL2/Makefile
  4. +5
    -0
      common.mk

+ 20
- 0
Makefile Voir le fichier

@@ -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 Voir le fichier

@@ -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 Voir le fichier

@@ -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 Voir le fichier

@@ -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

Chargement…
Annuler
Enregistrer