blob: c45de65dafa1bc6cec201fc7ce10458e7ccd3a8c (
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
|
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
|