blob: b419fee0de7b02da88e72e5a15f218cfe47d18ac (
plain)
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
29
30
31
32
33
34
35
|
PROJECT=$(basename $(wildcard *.gnuplot))
SIMPLESOLV=simplesolv~/Work/Research/2018+bose_gas/cmp/simplesolv/source/src
all: $(addsuffix .pdf, $(PROJECT))
define gnuplot2pdf
gnuplot $(1).gnuplot > $(1).tikz.tex
pdflatex -jobname $(1) -file-line-error $(1).tikz.tex
endef
define bigeq_run
julia -p 16 $(SIMPLESOLV)/main.jl -p "eq=bigeq;N=12;P=8;J=10;maxiter=100;v_a=8;minlrho=-4;maxlrho=1;nlrho=100;window_L=1000;dx=1e-4;maxstep=0.1" -M anyeq 2pt_max_rho > 2pt_max.dat
endef
2pt_max.dat:
$(call bigeq_run)
DATS=2pt_max.dat
2pt_max.pdf: 2pt_max.dat
$(call gnuplot2pdf,$(basename $@))
clean-aux:
rm -f $(addsuffix .tikz.tex, $(PROJECT))
rm -f *.aux *.log
clean-dat:
rm -f $(DATS)
clean-pdf:
rm -f $(addsuffix .pdf, $(PROJECT))
clean: clean-aux clean-pdf
|