-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (20 loc) · 686 Bytes
/
Copy pathMakefile
File metadata and controls
28 lines (20 loc) · 686 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
include Makefile.inc
# Enter the name(s) of the .tex file(s) that you want to compile.
TEX_FILES = mcmc
DIRS = problems
# You shouldn't need to edit below here.
default: mcmc.pdf
.PHONY: problems
problems: force_look
$(foreach d, ${DIRS}, (echo "Looking into ${d}:"; cd ${d}; ${MAKE} ${MFLAGS}) )
mcmc.pdf: mcmc.tex problems
${LATEX} mcmc.tex
( ${CHECK_RERUN} && ${LATEX} mcmc.tex ) || echo "Done."
( ${CHECK_RERUN} && ${LATEX} mcmc.tex ) || echo "Done."
# subdirs: force_look
# $(foreach d, ${DIRS}, (echo "Looking into ${d}:"; cd ${d}; ${MAKE} ${MFLAGS}) )
force_look:
true
clean:
$(RM_TMP)
$(foreach d, ${DIRS}, (echo "Cleaning ${d}:"; cd ${d}; $(MAKE) clean) )