source: anr/Makefile @ 39

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