source: anr/Makefile @ 45

Last change on this file since 45 was 45, checked in by coach, 14 years ago
File size: 920 bytes
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
13
14# PROGRAMS
15FIG2DEV = fig2dev
16
17%.pdf: %.fig
18        @echo "Converting $< to $@"
19        @$(FIG2DEV) -L pdf -p aaa $< $@
20
21anr.pdf: $(SOURCES) gantt.tex gantt
22        @echo "Generating pdf file"
23        @pdflatex anr.tex
24        @bibtex anr
25        @./gantt < anr.gantt > gantt.tex
26        @pdflatex anr.tex
27        @grep ndefine anr.log
28
29anr.bbl:anr.aux anr.bib
30        bibtex anr || true
31
32anr.aux gantt.tex:
33        touch $@
34
35gantt: gantt.l
36        @flex gantt.l && gcc -g lex.yy.c -o gantt
37        @rm lex.yy.c
Note: See TracBrowser for help on using the repository browser.