-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
112 lines (107 loc) · 5.8 KB
/
Makefile
File metadata and controls
112 lines (107 loc) · 5.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# Options and directories ------------------------------------------------------
# Option for R
R_OPTS=--vanilla
# Name targets -----------------------------------------------------------------
syllabus: syllabus/syllabus.pdf
lec01 : notes/01-intro/slides.html notes/01-intro/slides.pdf
lec01r : notes/01-intro/slides.html notes/01-intro-r/slides.pdf
lec02 : notes/02-review/slides.html notes/02-review/slides.pdf
lec03 : notes/03-review/slides.html notes/03-review/slides.pdf
lec04 : notes/04-heteroskedasticity/slides.html notes/04-heteroskedasticity/slides.pdf
lec05 : notes/05-heteroskedasticity/slides.html notes/05-heteroskedasticity/slides.pdf
lec06 : notes/06-consistency/slides.html notes/06-consistency/slides.pdf
lec07 : notes/07-time-series/slides.html notes/07-time-series/slides.pdf
lec08 : notes/08-autocorrelation/slides.html notes/08-autocorrelation/slides.pdf
lec09 : notes/09-nonstationarity/slides.html notes/09-nonstationarity/slides.pdf
lec10 : notes/10-causality/slides.html notes/10-causality/slides.pdf
lec11 : notes/11-iv/slides.html notes/11-iv/slides.pdf
lec12 : notes/12-panels/slides.html notes/12-panels/slides.pdf
midterm-topics : midterm/prep/midterm-topics.html
midterm-review : midterm/prep/midterm-review.html
midterm-exam : midterm/exam/exam-inclass.pdf
# Define links: Syllabus -------------------------------------------------------
# Build syllabus
syllabus/syllabus.pdf : syllabus/syllabus.tex
tectonic syllabus/syllabus.tex
# Define links: Lecture --------------------------------------------------------
# Lecture 01
notes/01-intro/slides.html : notes/01-intro/slides.rmd notes/01-intro/my-css.css
Rscript -e "rmarkdown::render('$<')"
notes/01-intro/slides.pdf : notes/01-intro/slides.html
Rscript -e "pagedown::chrome_print('$<', wait = 4, timeout = 120)"
# Lecture 01(r)
notes/01-intro-r/slides.html : notes/01-intro-r/slides.rmd notes/01-intro-r/my-css.css
Rscript -e "rmarkdown::render('$<')"
notes/01-intro-r/slides.pdf : notes/01-intro-r/slides.html
Rscript -e "pagedown::chrome_print('$<', wait = 4, timeout = 120)"
# Lecture 02
notes/02-review/slides.html : notes/02-review/slides.rmd notes/02-review/my-css.css
Rscript -e "rmarkdown::render('$<')"
notes/02-review/slides.pdf : notes/02-review/slides.html
Rscript -e "pagedown::chrome_print('$<', wait = 4, timeout = 120)"
# Lecture 03
notes/03-review/slides.html : notes/03-review/slides.rmd notes/03-review/my-css.css
Rscript -e "rmarkdown::render('$<')"
notes/03-review/slides.pdf : notes/03-review/slides.html
Rscript -e "pagedown::chrome_print('$<', wait = 4, timeout = 120)"
# Lecture 04
notes/04-heteroskedasticity/slides.html : notes/04-heteroskedasticity/slides.rmd notes/04-heteroskedasticity/my-css.css
Rscript -e "rmarkdown::render('$<')"
notes/04-heteroskedasticity/slides.pdf : notes/04-heteroskedasticity/slides.html
Rscript -e "pagedown::chrome_print('$<', wait = 4, timeout = 120)"
# Lecture 05
notes/05-heteroskedasticity/slides.html : notes/05-heteroskedasticity/slides.rmd notes/05-heteroskedasticity/my-css.css
Rscript -e "rmarkdown::render('$<')"
notes/05-heteroskedasticity/slides.pdf : notes/05-heteroskedasticity/slides.html
Rscript -e "pagedown::chrome_print('$<', wait = 4, timeout = 120)"
# Lecture 06
notes/06-consistency/slides.html : notes/06-consistency/slides.rmd notes/06-consistency/my-css.css
Rscript -e "rmarkdown::render('$<')"
notes/06-consistency/slides.pdf : notes/06-consistency/slides.html
Rscript -e "pagedown::chrome_print('$<', wait = 4, timeout = 120)"
# Lecture 07
notes/07-time-series/slides.html : notes/07-time-series/slides.rmd notes/07-time-series/my-css.css
Rscript -e "rmarkdown::render('$<')"
notes/07-time-series/slides.pdf : notes/07-time-series/slides.html
Rscript -e "pagedown::chrome_print('$<', wait = 4, timeout = 120)"
# Lecture 08
notes/08-autocorrelation/slides.html : notes/08-autocorrelation/slides.rmd notes/08-autocorrelation/my-css.css
Rscript -e "rmarkdown::render('$<')"
notes/08-autocorrelation/slides.pdf : notes/08-autocorrelation/slides.html
Rscript -e "pagedown::chrome_print('$<', wait = 4, timeout = 120)"
# Lecture 09
notes/09-nonstationarity/slides.html : notes/09-nonstationarity/slides.rmd notes/09-nonstationarity/my-css.css
Rscript -e "rmarkdown::render('$<')"
notes/09-nonstationarity/slides.pdf : notes/09-nonstationarity/slides.html
Rscript -e "pagedown::chrome_print('$<', wait = 4, timeout = 120)"
# Lecture 10
notes/10-causality/slides.html : notes/10-causality/slides.rmd notes/10-causality/my-css.css
Rscript -e "rmarkdown::render('$<')"
notes/10-causality/slides.pdf : notes/10-causality/slides.html
Rscript -e "pagedown::chrome_print('$<', wait = 4, timeout = 120)"
# Lecture 11
notes/11-iv/slides.html : notes/11-iv/slides.rmd notes/11-iv/my-css.css
Rscript -e "rmarkdown::render('$<')"
notes/11-iv/slides.pdf : notes/11-iv/slides.html
Rscript -e "pagedown::chrome_print('$<', wait = 4, timeout = 120)"
# Lecture 12
notes/12-panels/slides.html : notes/12-panels/slides.rmd notes/12-panels/my-css.css
Rscript -e "rmarkdown::render('$<')"
notes/12-panels/slides.pdf : notes/12-panels/slides.html
Rscript -e "pagedown::chrome_print('$<', wait = 4, timeout = 120)"
# Define links: Exam material --------------------------------------------------
midterm/prep/midterm-topics.html : midterm/prep/midterm-topics.qmd
quarto render $< --to html
midterm/prep/midterm-review.html : midterm/prep/midterm-review.qmd
quarto render $< --to html
midterm/exam/exam-inclass.pdf : midterm/exam/exam-inclass.qmd \
midterm/exam/my-header.tex \
midterm/exam/my-macros.tex
quarto render $@ --to pdf
# Global targets ---------------------------------------------------------------
lec-all: lec01 lec01r lec02 lec03 lec04 lec05 lec06 lec07 lec08 lec09 lec10 lec11 lec12
midterm-all: midterm-topics midterm-review midterm-exam
all: lec-all syllabus midterm-all
# Define clean
clean:
rm -f lec-all