diff options
author | Ian Jauslin <ian@jauslin.org> | 2021-04-28 10:11:13 -0400 |
---|---|---|
committer | Ian Jauslin <ian@jauslin.org> | 2021-04-28 10:11:13 -0400 |
commit | 1f5187ec369f11f102f975ff69ca4e8109eff7cf (patch) | |
tree | 74f1c1b7f44487dfaeffae4a11fdc750aecbfdd0 /figs/condensate.fig/Makefile |
Diffstat (limited to 'figs/condensate.fig/Makefile')
-rw-r--r-- | figs/condensate.fig/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/figs/condensate.fig/Makefile b/figs/condensate.fig/Makefile new file mode 100644 index 0000000..c45de65 --- /dev/null +++ b/figs/condensate.fig/Makefile @@ -0,0 +1,34 @@ +PROJECTNAME=condensate + +PDFS=$(addsuffix .pdf, $(PROJECTNAME)) +DATS= simpleq.dat bigeq.dat + +all: $(PDFS) + +$(PDFS): $(DATS) + gnuplot $(patsubst %.pdf, %.gnuplot, $@) > $(patsubst %.pdf, %.tikz.tex, $@) + pdflatex -jobname $(basename $@) -file-line-error $(patsubst %.pdf, %.tikz.tex, $@) + +simpleq.dat: + julia $(SIMPLEQ)/main.jl -p "tolerance=1e-11;order=100;maxiter=100;v_a=1" -M simpleq condensate_fraction > $@ +bigeq.dat: + julia -p 8 $(SIMPLEQ)/main.jl -p "eq=bigeq;N=12;P=8;v_a=1" -M medeq condensate_fraction > $@ + +install: $(PDFS) + cp $^ $(INSTALLDIR)/ + +$(LIBS): + ln -fs libs/$@ ./ + +clean-libs: + rm -f $(LIBS) + +clean-aux: + rm -f $(addsuffix .aux, $(PROJECTNAME)) + rm -f $(addsuffix .log, $(PROJECTNAME)) + rm -f $(addsuffix .tex, $(PROJECTNAME)) + +clean-tex: + rm -f $(PDFS) + +clean: clean-libs clean-aux clean-tex |