source: anr/Makefile @ 58

Last change on this file since 58 was 58, checked in by coach, 14 years ago

IA:

File size: 1.1 KB
Line 
1# set here all the sources files
2# required to build anr.pdf
3SOURCES=        anr.tex anr.bib section-1.tex \
4                        section-2.tex section-2.1.tex section-2.2.tex \
5                        flow.pdf section-3.1.tex section-3.2.tex \
6                        task-0.tex task-1.tex task-2.tex task-3.tex \
7                        task-4.tex task-5.tex task-6.tex \
8                        section-4.1.tex section-4.4.tex \
9                        architecture-csg.pdf architecture-hls.pdf architecture-hpc.pdf \
10                        dependence-task-h.pdf \
11                        section-4.2.tex section-5.tex \
12                        section-6.1.tex section-6.2.tex section-7.tex
13
14TABLES= table_upmc_full.tex table_upmc_short.tex
15
16# PROGRAMS
17FIG2DEV = fig2dev
18
19%.pdf: %.fig
20        @echo "Converting $< to $@"
21        @$(FIG2DEV) -L pdf -p aaa $< $@
22
23anr.pdf: $(SOURCES) gantt1.tex gantt2.tex gantt $(TABLES)
24        @echo "Generating pdf file"
25        @pdflatex anr.tex
26        @bibtex anr
27        @./gantt < anr.gantt
28        @pdflatex anr.tex
29        @pdflatex anr.tex
30        @grep ndefine anr.log
31
32anr.bbl:anr.aux anr.bib
33        bibtex anr || true
34
35anr.aux gantt1.tex gantt2.tex $(TABLES):
36        touch $@
37
38gantt: gantt.l
39        @flex gantt.l && gcc -g lex.yy.c -o gantt
40        @rm lex.yy.c
41
42clean:
43        rm -f $(TABLES) anr.aux gantt1.tex gantt2.tex anr.pdf anr.gantt
Note: See TracBrowser for help on using the repository browser.