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/wavefunction.fig/Makefile |
Initial commitv0.0
Diffstat (limited to 'figs/wavefunction.fig/Makefile')
-rw-r--r-- | figs/wavefunction.fig/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/figs/wavefunction.fig/Makefile b/figs/wavefunction.fig/Makefile new file mode 100644 index 0000000..fe3fbbd --- /dev/null +++ b/figs/wavefunction.fig/Makefile @@ -0,0 +1,32 @@ +PROJECTNAME=real imag density current + +PHOTOCOMP_PATH= + +DATS=mc.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, $@) + +mc.dat: + $(PHOTOCOMP_PATH)photocomp -p "V=10;EF=4.5;omega=1.55;n_periods=3;J=30;E=15e9" mc > $@ + +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 |