source: doc/papers/OOPSLA17/Makefile@ e76bd39

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since e76bd39 was 5ff188f, checked in by Peter A. Buhr <pabuhr@…>, 8 years ago

further changes to document Makefiles

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[5ff188f]1## Define the configuration variables.
[0788c03d]2
[5ff188f]3Build = build
4Figures = figures
5Macros = ../../LaTeXmacros
6TeXLIB = .:${Macros}:${Build}:../../bibliography:
7LaTeX = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build}
[0788c03d]8BibTeX = BIBINPUTS=${TeXLIB} && export BIBINPUTS && bibtex
9
[5ff188f]10MAKEFLAGS = --no-print-directory --silent #
11VPATH = ${Figures} evaluation
12
[0788c03d]13## Define the text source files.
14
15SOURCES = ${addsuffix .tex, \
16generic_types \
17}
18
19FIGURES = ${addsuffix .tex, \
20}
21
22PICTURES = ${addsuffix .pstex, \
23}
24
25PROGRAMS = ${addsuffix .tex, \
26}
27
28GRAPHS = ${addsuffix .tex, \
[3895b8b5]29timing \
[0788c03d]30}
31
32## Define the documents that need to be made.
33
34DOCUMENT = generic_types.pdf
35
36# Directives #
37
38all : ${DOCUMENT}
39
40clean :
[5ff188f]41 @rm -frv ${DOCUMENT} ${basename ${DOCUMENT}}.ps ${Build}
[0788c03d]42
43# File Dependencies #
44
45${DOCUMENT} : ${basename ${DOCUMENT}}.ps
46 ps2pdf $<
47
48${basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi
[5ff188f]49 dvips ${Build}/$< -o $@
[0788c03d]50
[5ff188f]51${basename ${DOCUMENT}}.dvi : Makefile ${Build} ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex ../../bibliography/pl.bib
[0788c03d]52 # Must have *.aux file containing citations for bibtex
53 if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi
[5ff188f]54 -${BibTeX} ${Build}/${basename $@}
55 # Some citations reference others so run again to resolve these citations
[0788c03d]56 ${LaTeX} ${basename $@}.tex
[5ff188f]57 -${BibTeX} ${Build}/${basename $@}
58 # Run again to finish citations
[0788c03d]59 ${LaTeX} ${basename $@}.tex
60
61## Define the default recipes.
62
[5ff188f]63${Build}:
64 mkdir -p ${Build}
65
66${GRAPHS} : timing.gp timing.dat
67 gnuplot -e Build="'${Build}/'" evaluation/timing.gp
[3895b8b5]68
[0788c03d]69%.tex : %.fig
[5ff188f]70 fig2dev -L eepic $< > ${Build}/$@
[0788c03d]71
72%.ps : %.fig
[5ff188f]73 fig2dev -L ps $< > ${Build}/$@
[0788c03d]74
75%.pstex : %.fig
[5ff188f]76 fig2dev -L pstex $< > ${Build}/$@
77 fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t
[0788c03d]78
79# Local Variables: #
80# compile-command: "make" #
81# End: #
Note: See TracBrowser for help on using the repository browser.