From d254a3e3f495e9cd3110ae48020786466d850d57 Mon Sep 17 00:00:00 2001 From: Ian Jauslin Date: Tue, 14 Jun 2022 16:32:34 +0200 Subject: Initial commit --- figs/bilayer.fig/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 figs/bilayer.fig/Makefile (limited to 'figs/bilayer.fig/Makefile') diff --git a/figs/bilayer.fig/Makefile b/figs/bilayer.fig/Makefile new file mode 100644 index 0000000..147037c --- /dev/null +++ b/figs/bilayer.fig/Makefile @@ -0,0 +1,23 @@ +PROJECTNAME=$(basename $(basename $(wildcard *.tikz.tex))) + +PDFS=$(addsuffix .pdf, $(PROJECTNAME)) + +all: $(PDFS) + +$(PDFS): + pdflatex -jobname $(basename $@) $(patsubst %.pdf, %.tikz.tex, $@) + + +install: $(PROJECTNAME) + cp $^.pdf $(INSTALLDIR)/ + + +clean-aux: + rm -f $(addsuffix .aux, $(PROJECTNAME)) + rm -f $(addsuffix .log, $(PROJECTNAME)) + rm -f $(addsuffix .out, $(PROJECTNAME)) + +clean-tex: + rm -f $(PDFS) $(SYNCTEXS) + +clean: clean-aux clean-tex -- cgit v1.2.3-70-g09d2