diff --git a/Makefile b/Makefile index aa43ca0..1e7bc1c 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,20 @@ BASENAME=scientificcomputing-script +SUBDIRS=programming statistics bootstrap likelihood pointprocesses spike_trains designpattern +# regression + pdf : $(BASENAME).pdf + for sd in $(SUBDIRS); do $(MAKE) -C $$sd/lecture pdf; done $(BASENAME).pdf : $(BASENAME).tex header.tex export TEXMFOUTPUT=.; pdflatex -interaction=scrollmode $< | tee /dev/stderr | fgrep -q "Rerun to get cross-references right" && pdflatex -interaction=scrollmode $< || true clean : rm -f *~ $(BASENAME).aux $(BASENAME).log $(BASENAME).out $(BASENAME).toc + for sd in $(SUBDIRS); do $(MAKE) -C $$sd/lecture clean; done cleanall : clean rm -f $(PDFFILE) watch : while true; do ! make -q pdf && make pdf; sleep 0.5; done - -