Added first-cut makefiles.
authorPuneeth Chaganti <punchagan@fossee.in>
Sun, 10 Jan 2010 18:10:31 +0530
changeset 350 385b9df26f25
parent 349 58366fe3839b
child 351 c9d1d5a7b629
Added first-cut makefiles.
Makefile
day1/Makefile
day2/Makefile
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Sun Jan 10 18:10:31 2010 +0530
@@ -0,0 +1,42 @@
+.SUFFIXES: .tex .pdf
+
+.tex.pdf:
+	pdflatex $*.tex
+	pdflatex $*.tex
+
+all: day-one day-two
+
+cheats: 
+	cd day1; make cheats
+	cd day2; make cheats
+
+slides: 
+	cd day1; make slides
+	cd day2; make slides
+
+quiz: 
+	cd day1; make quiz
+	cd day2; make quiz
+
+day-one: 
+	cd day1; make slides
+	cd day1; make cheats
+	cd day1; make quiz
+
+day-two: 
+	cd day2; make slides
+	cd day2; make cheats
+	cd day2; make quiz
+
+clean-all:
+	rm -f *.dvi *.log *.bak *.aux *.bbl *.blg *.idx *.ps *.eps *.pdf *.toc *.out *~ *.vrb *.nav *.snm
+	cd day1; make clean-all
+	cd day2; make clean-all
+
+clean:
+	rm -f *.log *.bak *.aux *.bbl *.blg *.idx *.toc *.out *~ *.vrb *.nav *.snm
+	cd day1; make clean
+	cd day2; make clean
+
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/day1/Makefile	Sun Jan 10 18:10:31 2010 +0530
@@ -0,0 +1,38 @@
+.SUFFIXES: .tex .pdf
+
+.tex.pdf:
+	pdflatex $*.tex
+	pdflatex $*.tex
+
+SLIDES= session1.pdf \
+	session2.pdf \
+	session3.pdf \
+	session4.pdf \
+	session5.pdf \
+	session6.pdf
+
+CHEATS= cheatsheet1.pdf \
+	cheatsheet2.pdf \
+	cheatsheet3.pdf \
+	cheatsheet4.pdf \
+	cheatsheet6.pdf
+
+QUIZ= day1quiz1.pdf \
+	day1quiz2.pdf \
+
+all:	$(SLIDES) $(CHEATS) $(QUIZ)
+
+cheats: $(CHEATS)
+
+slides: $(SLIDES) $(CHEATS)
+
+quiz: $(QUIZ)
+
+clean-all:
+	rm -f *.dvi *.log *.bak *.aux *.bbl *.blg *.idx *.ps *.eps *.pdf *.toc *.out *~ *.vrb *.nav *.snm
+
+clean:
+	rm -f *.log *.bak *.aux *.bbl *.blg *.idx *.toc *.out *~ *.vrb *.nav *.snm
+
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/day2/Makefile	Sun Jan 10 18:10:31 2010 +0530
@@ -0,0 +1,36 @@
+.SUFFIXES: .tex .pdf
+
+.tex.pdf:
+	pdflatex $*.tex
+	pdflatex $*.tex
+
+SLIDES= session1.pdf \
+	session2.pdf \
+	session3.pdf \
+	session4.pdf \
+	session5.pdf \
+	session6.pdf
+
+CHEATS= cheatsheet1.pdf \
+	cheatsheet2.pdf \
+	cheatsheet3.pdf \
+	cheatsheet4.pdf 
+
+QUIZ= day2quiz.pdf 
+
+all:	$(SLIDES) $(CHEATS) $(QUIZ)
+
+cheats: $(CHEATS)
+
+slides: $(SLIDES) $(CHEATS)
+
+quiz: $(QUIZ)
+
+clean-all:
+	rm -f *.dvi *.log *.bak *.aux *.bbl *.blg *.idx *.ps *.eps *.pdf *.toc *.out *~ *.vrb *.nav *.snm
+
+clean:
+	rm -f *.log *.bak *.aux *.bbl *.blg *.idx *.toc *.out *~ *.vrb *.nav *.snm
+
+
+