source: anr/Makefile @ 124

Last change on this file since 124 was 124, checked in by coach, 14 years ago
File size: 1.5 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                table_ubs_full.tex table_ubs_short.tex \
18                table_xilinx_full.tex table_xilinx_short.tex \
19                table_bull_full.tex table_bull_short.tex \
20                table_thales_full.tex table_thales_short.tex \
21                table_zied_full.tex table_zied_short.tex \
22                table_inria_cairn_full.tex table_inria_cairn_short.tex \
23
24# PROGRAMS
25FIG2DEV = fig2dev
26
27%.pdf: %.fig
28        @echo "Converting $< to $@"
29        @$(FIG2DEV) -L pdf -p aaa $< $@
30
31anr.pdf: $(SOURCES) gantt1.tex gantt2.tex gantt $(TABLES)
32        @echo "Generating pdf file"
33        @pdflatex anr.tex
34        @bibtex anr
35        @./gantt < anr.gantt
36        @pdflatex anr.tex
37        @pdflatex anr.tex
38        @grep ndefine anr.log
39
40anr.bbl:anr.aux anr.bib
41        bibtex anr || true
42
43anr.aux gantt1.tex gantt2.tex $(TABLES):
44        touch $@
45
46gantt: gantt.l
47        @flex gantt.l && gcc -g lex.yy.c -o gantt
48        @rm lex.yy.c
49
50clean:
51        rm -f $(TABLES) anr.aux gantt1.tex gantt2.tex anr.pdf anr.gantt
Note: See TracBrowser for help on using the repository browser.