blob: a6e5e53416fa0b6a788a94c23a7c01556cf2e28d (
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
|
PROJECTNAME=asymptotic
PDFS=$(addsuffix .pdf, $(PROJECTNAME))
TEXS=$(addsuffix .tikz.tex, $(PROJECTNAME))
all: $(PDFS)
$(PDFS): $(addsuffix .dat, $(PROJECTNAME))
gnuplot $(patsubst %.pdf, %.gnuplot, $@) > $(patsubst %.pdf, %.tikz.tex, $@)
pdflatex -jobname $(basename $@) -file-line-error $(patsubst %.pdf, %.tikz.tex, $@)
asymptotic.dat:
julia asymptotic.jl > asymptotic.dat
install: $(PDFS)
cp $^ $(INSTALLDIR)/
clean-aux:
rm -f $(addsuffix .aux, $(PROJECTNAME))
rm -f $(addsuffix .log, $(PROJECTNAME))
clean-dat:
rm -f $(addsuffix .tikz.tex, $(PROJECTNAME))
rm -f short-time.dat
clean-tex:
rm -f $(PDFS)
clean: clean-dat clean-aux clean-tex
|