Makefile
changeset 350 385b9df26f25
equal deleted inserted replaced
349:58366fe3839b 350:385b9df26f25
       
     1 .SUFFIXES: .tex .pdf
       
     2 
       
     3 .tex.pdf:
       
     4 	pdflatex $*.tex
       
     5 	pdflatex $*.tex
       
     6 
       
     7 all: day-one day-two
       
     8 
       
     9 cheats: 
       
    10 	cd day1; make cheats
       
    11 	cd day2; make cheats
       
    12 
       
    13 slides: 
       
    14 	cd day1; make slides
       
    15 	cd day2; make slides
       
    16 
       
    17 quiz: 
       
    18 	cd day1; make quiz
       
    19 	cd day2; make quiz
       
    20 
       
    21 day-one: 
       
    22 	cd day1; make slides
       
    23 	cd day1; make cheats
       
    24 	cd day1; make quiz
       
    25 
       
    26 day-two: 
       
    27 	cd day2; make slides
       
    28 	cd day2; make cheats
       
    29 	cd day2; make quiz
       
    30 
       
    31 clean-all:
       
    32 	rm -f *.dvi *.log *.bak *.aux *.bbl *.blg *.idx *.ps *.eps *.pdf *.toc *.out *~ *.vrb *.nav *.snm
       
    33 	cd day1; make clean-all
       
    34 	cd day2; make clean-all
       
    35 
       
    36 clean:
       
    37 	rm -f *.log *.bak *.aux *.bbl *.blg *.idx *.toc *.out *~ *.vrb *.nav *.snm
       
    38 	cd day1; make clean
       
    39 	cd day2; make clean
       
    40 
       
    41 
       
    42