From c6fe9f4dfa4d790031393370d4e9cf0c9226e03f Mon Sep 17 00:00:00 2001 From: Ian Jauslin Date: Fri, 8 Sep 2017 05:59:24 +0000 Subject: Update to v0.1: 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. --- Makefile | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index eeb141d..6f5cc92 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-70-g09d2