Skip to content

Commit

Permalink
unified makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dc authored and dc committed Feb 18, 2014
1 parent 34fea6c commit 993dc31
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions Rendu1/Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
LC=pdflatex
LFLAGS=-halt-on-error
LSRC=rendu1.tex
PDF=rendu1.pdf
TEX=$(wildcard *.tex)
PDF=$(TEX:%.tex=%.pdf)

all: rapport


rapport:
$(LC) $(LFLAGS) $(LSRC)
@touch $(PDF) # To refresh the PDF viewer

see: rapport
evince $(PDF)
all:$(TEX)
pdflatex $(TEX)

clean:
rm -f *.aux *.eps *.log *.pdf *.toc *~ *.out

rm -f ./*.out ./*.aux ./*.nav ./*.log ./*.snm ./*.toc ./*~ ./*.eps
cleanall: clean
rm -f $(PDF)

0 comments on commit 993dc31

Please sign in to comment.