36 lines
919 B
Makefile
36 lines
919 B
Makefile
|
PROJECTNAME=tan7 tan4
|
||
|
|
||
|
SIMPLEQ=simpleq
|
||
|
|
||
|
DATS=bigeq7.dat bigeq4.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, $@)
|
||
|
|
||
|
bigeq7.dat:
|
||
|
julia $(SIMPLEQ)/main.jl -p "eq=bigeq;N=12;P=8;J=10;maxiter=100;v_a=1;rho=1e-7;minlrho=-7;nlrho=1" -M medeq momentum_distribution > $@
|
||
|
bigeq4.dat:
|
||
|
julia $(SIMPLEQ)/main.jl -p "eq=bigeq;N=12;P=8;J=10;maxiter=100;v_a=1;rho=1e-4;minlrho=-4;nlrho=1" -M medeq momentum_distribution > $@
|
||
|
|
||
|
install: $(PDFS)
|
||
|
cp $^ $(INSTALLDIR)/
|
||
|
|
||
|
clean-aux:
|
||
|
rm -f $(addsuffix .tikz.tex, $(PROJECTNAME))
|
||
|
rm -f $(addsuffix .aux, $(PROJECTNAME))
|
||
|
rm -f $(addsuffix .log, $(PROJECTNAME))
|
||
|
rm -f fit.log
|
||
|
|
||
|
clean-dat:
|
||
|
rm -f $(DATS)
|
||
|
|
||
|
clean-tex:
|
||
|
rm -f $(PDFS)
|
||
|
|
||
|
clean: clean-aux clean-tex
|