Makefile
author Christopher Burns <chris.d.burns@gmail.com>
Mon, 28 Jun 2010 23:17:31 -0500
branchscipy2010
changeset 428 ee689f7c3122
parent 350 385b9df26f25
permissions -rw-r--r--
REF: Minor formatting tweaks in exercise solutions.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
350
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     1
.SUFFIXES: .tex .pdf
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     2
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     3
.tex.pdf:
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     4
	pdflatex $*.tex
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     5
	pdflatex $*.tex
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     6
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     7
all: day-one day-two
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     8
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
     9
cheats: 
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    10
	cd day1; make cheats
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    11
	cd day2; make cheats
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    12
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    13
slides: 
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    14
	cd day1; make slides
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    15
	cd day2; make slides
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    16
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    17
quiz: 
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    18
	cd day1; make quiz
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    19
	cd day2; make quiz
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    20
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    21
day-one: 
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    22
	cd day1; make slides
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    23
	cd day1; make cheats
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    24
	cd day1; make quiz
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    25
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    26
day-two: 
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    27
	cd day2; make slides
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    28
	cd day2; make cheats
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    29
	cd day2; make quiz
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    30
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    31
clean-all:
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    32
	rm -f *.dvi *.log *.bak *.aux *.bbl *.blg *.idx *.ps *.eps *.pdf *.toc *.out *~ *.vrb *.nav *.snm
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    33
	cd day1; make clean-all
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    34
	cd day2; make clean-all
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    35
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    36
clean:
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    37
	rm -f *.log *.bak *.aux *.bbl *.blg *.idx *.toc *.out *~ *.vrb *.nav *.snm
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    38
	cd day1; make clean
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    39
	cd day2; make clean
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    40
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    41
385b9df26f25 Added first-cut makefiles.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff changeset
    42