diff options
Diffstat (limited to 'figs/hierarchical_graphene.fig/Makefile')
-rw-r--r-- | figs/hierarchical_graphene.fig/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/figs/hierarchical_graphene.fig/Makefile b/figs/hierarchical_graphene.fig/Makefile new file mode 100644 index 0000000..e5e1f5d --- /dev/null +++ b/figs/hierarchical_graphene.fig/Makefile @@ -0,0 +1,32 @@ +PROJECTNAME=graphene_vector_field + +DATS=graphene_vector_field.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, $@) + +graphene_vector_field.dat: + meankondo -C graphene.mk > graphene-numkondo.mk + ./gendat > $@ + +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) + rm -f graphene-numkondo.mk + +clean-tex: + rm -f $(PDFS) + +clean: clean-aux clean-tex |