-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
23 lines (17 loc) · 985 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
all: programmierkurs_fpcu.pdf
all_tex = speichernausdrucken.tex definitions.tex intro.tex kontrollstrukturen.tex pointersarrays.tex programmierkurs_fpcu.tex variablen.tex endprojekt.tex einfuegesortieren.tex dynamischespeicherverwaltung.tex complexdatatypen.tex dateinverarbeitung.tex stapelspeicher.tex funktionen.tex standartbibliothek.tex
programmierkurs_fpcu.pdf: $(all_tex) Makefile
latex programmierkurs_fpcu.tex
latex programmierkurs_fpcu.tex
dvips programmierkurs_fpcu.dvi
ps2pdf programmierkurs_fpcu.ps
heapsort.pdf: heapsort.tex
latexmk -bibtex -pdf -pdflatex="pdflatex -interaction=nonstopmode" -use-make $<
all_aux := $(all_tex:%.tex=%.aux)
scrap_aux := $(filter $(wildcard *.aux), $(all_aux))
scrap_main := $(filter $(wildcard programmierkurs_fpcu.*), $(addprefix programmierkurs_fpcu., dvi log pdf ps toc))
publish: programmierkurs_fpcu.pdf
cp programmierkurs_fpcu.pdf lecturenotes/publish/skript.pdf
.PHONY: clean
clean:
rm -f -- $(scrap_aux) $(scrap_main)