Blame view

Makefile 716 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
d6490b5fb   Arthur HUGEAT   Ajout d'un premie...
6
  all: $(TARGET) $(TARGET)_poster
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
12
13
  view_poster: $(TARGET)_poster
  	evince $(TARGET)_poster.pdf
  
  $(TARGET): $(TARGET).tex references.bib
30a06bd2a   jfriedt   initial commit: I...
14
15
16
17
  	$(TEX) $(TARGET).tex
  	$(BIB) $(TARGET)
  	$(TEX) $(TARGET).tex
  	$(TEX) $(TARGET).tex
d6490b5fb   Arthur HUGEAT   Ajout d'un premie...
18
19
20
  $(TARGET)_poster:
  	$(TEX) $@.tex
  	$(TEX) $@.tex
30a06bd2a   jfriedt   initial commit: I...
21
22
  clean:
  	rm -f $(TARGET).aux $(TARGET).log $(TARGET).out $(TARGET).bbl $(TARGET).blg
d6490b5fb   Arthur HUGEAT   Ajout d'un premie...
23
  	rm -f $(TARGET)_poster.aux $(TARGET)_poster.log $(TARGET)_poster.out
30a06bd2a   jfriedt   initial commit: I...
24
25
  
  mrproper: clean
d6490b5fb   Arthur HUGEAT   Ajout d'un premie...
26
  	rm -f $(TARGET).pdf $(TARGET)_poster.pdf