20chjl/figs/condensate.fig/Makefile
2020-11-25 01:10:59 -05:00

44 lines
1.4 KiB
Makefile

PROJECTNAME=condensate16 condensate05
SIMPLEQ=simpleq
DATS=simpleq16.dat mueq16.dat bigeq16.dat simpleq0.5.dat mueq0.5.dat bigeq0.5.dat
PDFS=$(addsuffix .pdf, $(PROJECTNAME))
TEXS=$(addsuffix .tikz.tex, $(PROJECTNAME))
all: $(PDFS)
$(PDFS): $(DATS)
gnuplot $(patsubst %.pdf, %.gnuplot, $@) > $(patsubst %.pdf, %.tikz.tex, $@)
pdflatex -jobname $(basename $@) -file-line-error $(patsubst %.pdf, %.tikz.tex, $@)
simpleq16.dat:
julia $(SIMPLEQ)/main.jl -p "tolerance=1e-11;order=100;maxiter=100;v_a=16" -M simpleq condensate_fraction_rho > $@
mueq16.dat:
julia $(SIMPLEQ)/main.jl -p "tolerance=1e-11;order=100;maxiter=100;v_a=16" -M mueq condensate_fraction_rho > $@
bigeq16.dat:
julia -p 8 $(SIMPLEQ)/main.jl -p "eq=bigeq;N=12;P=8;v_a=16" -M medeq condensate_fraction_rho > $@
simpleq0.5.dat:
julia $(SIMPLEQ)/main.jl -p "tolerance=1e-11;order=100;maxiter=100;v_a=0.5" -M simpleq condensate_fraction_rho > $@
mueq0.5.dat:
julia $(SIMPLEQ)/main.jl -p "tolerance=1e-11;order=100;maxiter=100;v_a=0.5" -M mueq condensate_fraction_rho > $@
bigeq0.5.dat:
julia -p 8 $(SIMPLEQ)/main.jl -p "eq=bigeq;N=12;P=8;v_a=0.5" -M medeq condensate_fraction_rho > $@
install: $(PDFS)
cp $^ $(INSTALLDIR)/
clean-aux:
rm -f $(addsuffix .tikz.tex, $(PROJECTNAME))
rm -f $(addsuffix .aux, $(PROJECTNAME))
rm -f $(addsuffix .log, $(PROJECTNAME))
clean-dat:
rm -f $(DATS)
clean-tex:
rm -f $(PDFS)
clean: clean-aux clean-tex