This repository has been archived on 2021-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
scientificComputing/spike_trains/lecture/Makefile
2015-10-27 23:25:39 +01:00

21 lines
560 B
Makefile

TEXFILES=$(wildcard *.tex)
TEXFILES=psth_sta.tex
PDFFILES=$(TEXFILES:.tex=.pdf)
pdf : $(PDFFILES)
$(PDFFILES) : %.pdf : %.tex
pdflatex -interaction=scrollmode $< | tee /dev/stderr | fgrep -q "Rerun to get cross-references right" && pdflatex -interaction=scrollmode $< || true
clean :
rm -f *~ $(TEXFILES:.tex=.aux) $(TEXFILES:.tex=.log) $(TEXFILES:.tex=.out) $(TEXFILES:.tex=.nav) $(TEXFILES:.tex=.snm) $(TEXFILES:.tex=.toc) $(TEXFILES:.tex=.vrb)
cleanall : clean
rm -f $(PDFFILES)
watch :
while true; do ! make -q pdf && make pdf; sleep 0.5; done