added exercise target to master Makefile
This commit is contained in:
parent
9a4100386b
commit
9c6bb91de5
8
Makefile
8
Makefile
@ -3,7 +3,7 @@ BASENAME=scientificcomputing-script
|
||||
SUBDIRS=programming debugging plotting codestyle statistics bootstrap regression likelihood pointprocesses designpattern
|
||||
SUBTEXS=$(foreach subd, $(SUBDIRS), $(subd)/lecture/$(subd).tex)
|
||||
|
||||
all : plots chapters index script
|
||||
all : plots chapters index script exercises
|
||||
|
||||
chapters :
|
||||
for sd in $(SUBDIRS); do $(MAKE) -C $$sd/lecture chapter; done
|
||||
@ -37,6 +37,11 @@ watchpdf :
|
||||
watchscript :
|
||||
while true; do ! make -s -q script && make script; sleep 0.5; done
|
||||
|
||||
|
||||
exercises:
|
||||
for sd in $(SUBDIRS); do if test -d $$sd/exercises; then $(MAKE) -C $$sd/exercises pdf; fi; done
|
||||
|
||||
|
||||
cleanplots:
|
||||
for sd in $(SUBDIRS); do $(MAKE) -C $$sd/lecture cleanplots; done
|
||||
|
||||
@ -46,6 +51,7 @@ cleantex:
|
||||
|
||||
clean : cleantex
|
||||
for sd in $(SUBDIRS); do $(MAKE) -C $$sd/lecture clean; done
|
||||
for sd in $(SUBDIRS); do if test -d $$sd/exercises; then $(MAKE) -C $$sd/exercises clean; fi; done
|
||||
|
||||
cleanall : clean
|
||||
rm -f $(BASENAME).pdf
|
||||
|
Reference in New Issue
Block a user