blob: 5769fe9547ab1cb7a3ece69471eb858ed0203f5f (
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
36
|
PROJECTNAME=omega
PHOTOCOMP_PATH=
DATS=omega10.dat omega30.dat omega3.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, $@)
omega10.dat:
$(PHOTOCOMP_PATH)photocomp -p "V=10;EF=4.5;omega_min=5;omega_max=6;n_omega=50;n_periods=12;J=120;E=10e9" mc_avgavgcurrent_omega > $@
omega30.dat:
$(PHOTOCOMP_PATH)photocomp -p "V=10;EF=4.5;omega_min=5.5;omega_max=6.5;n_omega=50;n_periods=12;J=120;E=30e9" mc_avgavgcurrent_omega > $@
omega3.dat:
$(PHOTOCOMP_PATH)photocomp -p "V=10;EF=4.5;omega_min=5;omega_max=6;n_omega=50;n_periods=12;J=120;E=3e9" mc_avgavgcurrent_omega > $@
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
|