Blame view

Makefile 855 Bytes
30a06bd2a   jfriedt   initial commit: I...
1
2
3
4
5
  # source: https://tex.stackexchange.com/questions/40738/how-to-properly-make-a-latex-project
  
  TEX = pdflatex -shell-escape -interaction=nonstopmode -file-line-error
  BIB = bibtex
  TARGET = ifcs2018
7fcf1da2a   Arthur HUGEAT   ajout de la versi...
6
  all: $(TARGET)_abstract $(TARGET)_poster $(TARGET)_processing
30a06bd2a   jfriedt   initial commit: I...
7

d6490b5fb   Arthur HUGEAT   Ajout d'un premie...
8
  view: $(TARGET)
30a06bd2a   jfriedt   initial commit: I...
9
  	evince $(TARGET).pdf
d6490b5fb   Arthur HUGEAT   Ajout d'un premie...
10
11
  view_poster: $(TARGET)_poster
  	evince $(TARGET)_poster.pdf
7fcf1da2a   Arthur HUGEAT   ajout de la versi...
12
13
14
15
16
  $(TARGET)_abstract: $(TARGET)_abstract.tex references.bib
  	$(TEX) $@.tex
  	$(BIB) $@
  	$(TEX) $@.tex
  	$(TEX) $@.tex
30a06bd2a   jfriedt   initial commit: I...
17

d6490b5fb   Arthur HUGEAT   Ajout d'un premie...
18
19
20
  $(TARGET)_poster:
  	$(TEX) $@.tex
  	$(TEX) $@.tex
7fcf1da2a   Arthur HUGEAT   ajout de la versi...
21
22
23
24
25
  $(TARGET)_processing: $(TARGET)_processing.tex references.bib
  	$(TEX) $@.tex
  	$(BIB) $@
  	$(TEX) $@.tex
  	$(TEX) $@.tex
30a06bd2a   jfriedt   initial commit: I...
26
27
  clean:
  	rm -f $(TARGET).aux $(TARGET).log $(TARGET).out $(TARGET).bbl $(TARGET).blg
d6490b5fb   Arthur HUGEAT   Ajout d'un premie...
28
  	rm -f $(TARGET)_poster.aux $(TARGET)_poster.log $(TARGET)_poster.out
30a06bd2a   jfriedt   initial commit: I...
29
30
  
  mrproper: clean
d6490b5fb   Arthur HUGEAT   Ajout d'un premie...
31
  	rm -f $(TARGET).pdf $(TARGET)_poster.pdf