diff options
author | Ian Jauslin <ian@jauslin.org> | 2019-11-01 00:45:19 -0400 |
---|---|---|
committer | Ian Jauslin <ian@jauslin.org> | 2019-11-01 00:45:19 -0400 |
commit | 372628e8602e724a5cd0a6e211179255f4b75adb (patch) | |
tree | a552f6f18d0bd3c4d0156fa82c5c6b76ffa481f9 /figs/avgcurrent.fig/Makefile |
Initial commitv0.0
Diffstat (limited to 'figs/avgcurrent.fig/Makefile')
-rw-r--r-- | figs/avgcurrent.fig/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/figs/avgcurrent.fig/Makefile b/figs/avgcurrent.fig/Makefile new file mode 100644 index 0000000..9bb20af --- /dev/null +++ b/figs/avgcurrent.fig/Makefile @@ -0,0 +1,39 @@ +PROJECTNAME=avgcurrent avgcurrent_zoom decay + +PHOTOCOMP_PATH= + +DATS=avgcurrent.dat decay.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, $@) + +avgcurrent.dat: save.dat + $(PHOTOCOMP_PATH)photocomp -p "V=10;EF=4.5;omega=6;n_periods=48;J=480;E=10e9" mc -s save.dat > $@ + +decay.dat: save.dat + $(PHOTOCOMP_PATH)photocomp -p "V=10;EF=4.5;omega=6;n_periods=48;J=480;E=10e9" mc_decay -s save.dat > $@ + +save.dat: + $(PHOTOCOMP_PATH)photocomp -p "V=10;EF=4.5;omega=6;n_periods=48;J=480;E=10e9" save > $@ + +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) save.dat + +clean-tex: + rm -f $(PDFS) + +clean: clean-aux clean-tex |