diff options
author | Ian Jauslin <jauslin@ias.edu> | 2017-09-08 05:59:24 +0000 |
---|---|---|
committer | Ian Jauslin <jauslin@ias.edu> | 2017-09-09 21:06:49 +0000 |
commit | c6fe9f4dfa4d790031393370d4e9cf0c9226e03f (patch) | |
tree | 7fa880472e04d1edfb23d4897ed061120e040f19 /Makefile | |
parent | 1b13e14750d355b301dc3904702268687216608c (diff) |
Fixed: removed discussion on k-nearest neighbor exclusion models which do
not cover the lattice perfectly.
Fixed: extra assumption: particle configurations are determined by their
defects.
Fixed: miscellaneous minor tweaks, formatting and typos.
Added: discussion about Lee-Yang zeros and their relation to the
high-fugacity expansion.
Added: open problem: soft exclusion potentials.
Added: extended bibliography.
Changed: Particles in figures are now always centered on the lattice, not
the dual lattice.
Changed: improved Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 37 |
1 files changed, 22 insertions, 15 deletions
@@ -1,40 +1,47 @@ PROJECTNAME=Jauslin_Lebowitz_2017 +LIBS=$(notdir $(wildcard libs/*)) +FIGS=$(notdir $(wildcard figs/*.fig)) -LIBS=$(patsubst libs/%, %, $(wildcard libs/*)) -FIGS=$(patsubst figs/%, %, $(wildcard figs/*)) +PDFS=$(addsuffix .pdf, $(PROJECTNAME)) +SYNCTEXS=$(addsuffix .synctex.gz, $(PROJECTNAME)) all: $(PROJECTNAME) $(PROJECTNAME): $(LIBS) $(FIGS) - pdflatex -file-line-error $(PROJECTNAME).tex - pdflatex $(PROJECTNAME).tex - pdflatex -synctex=1 $(PROJECTNAME).tex + pdflatex -file-line-error $@.tex + pdflatex -file-line-error $@.tex + pdflatex -synctex=1 $@.tex + + +libs: $(LIBS) $(LIBS): ln -fs libs/$@ ./ +figs: $(FIGS) + $(FIGS): make -C figs/$@ ln -fs figs/$@/*.pdf ./ clean-aux: - rm -f $(PROJECTNAME).aux - rm -f $(PROJECTNAME).log - rm -f $(PROJECTNAME).out - rm -f $(PROJECTNAME).toc + rm -f $(addsuffix .aux, $(PROJECTNAME)) + rm -f $(addsuffix .log, $(PROJECTNAME)) + rm -f $(addsuffix .out, $(PROJECTNAME)) clean-libs: rm -f $(LIBS) -clean-tex: - rm -f $(PROJECTNAME).pdf - rm -f $(PROJECTNAME).synctex.gz - clean-figs: - for fig in $(FIGS); do make -C figs/"$$fig" clean; done + $(foreach fig,$(addprefix figs/, $(FIGS)), make -C $(fig) clean; ) + rm -f $(notdir $(wildcard figs/*.fig/*.pdf)) clean-figs-aux: - for fig in $(FIGS); do make -C figs/"$$fig" clean-aux; done + $(foreach fig,$(addprefix figs/, $(FIGS)), make -C $(fig) clean-aux; ) + + +clean-tex: + rm -f $(PDFS) $(SYNCTEXS) clean: clean-aux clean-tex clean-libs clean-figs |