source: anr/Makefile @ 94

Last change on this file since 94 was 91, checked in by coach, 15 years ago

Updated Makefile

File size: 1.2 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                table_tima_full.tex table_tima_short.tex \
16                table_lip_full.tex table_lip_short.tex \
17
18# PROGRAMS
19FIG2DEV = fig2dev
20
21%.pdf: %.fig
22        @echo "Converting $< to $@"
23        @$(FIG2DEV) -L pdf -p aaa $< $@
24
25anr.pdf: $(SOURCES) gantt1.tex gantt2.tex gantt $(TABLES)
26        @echo "Generating pdf file"
27        @pdflatex anr.tex
28        @bibtex anr
29        @./gantt < anr.gantt
30        @pdflatex anr.tex
31        @pdflatex anr.tex
32        @grep ndefine anr.log
33
34anr.bbl:anr.aux anr.bib
35        bibtex anr || true
36
37anr.aux gantt1.tex gantt2.tex $(TABLES):
38        touch $@
39
40gantt: gantt.l
41        @flex gantt.l && gcc -g lex.yy.c -o gantt
42        @rm lex.yy.c
43
44clean:
45        rm -f $(TABLES) anr.aux gantt1.tex gantt2.tex anr.pdf anr.gantt
Note: See TracBrowser for help on using the repository browser.