-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathMakefile-dependencies-explained
More file actions
35 lines (25 loc) · 935 Bytes
/
Makefile-dependencies-explained
File metadata and controls
35 lines (25 loc) · 935 Bytes
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
# Makefile
# Author: Florencia D'Andrea
# Date: 2022-11-28
all : A
# count the words
I : data/isles.txt src/countwords.py
python src/countwords.py data/isles.txt results/isles.dat
H : data/abyss.txt src/countwords.py
python src/countwords.py data/abyss.txt results/abyss.dat
G : data/last.txt src/countwords.py
python src/countwords.py data/last.txt results/last.dat
F : data/sierra.txt src/countwords.py
python src/countwords.py data/sierra.txt results/sierra.dat
# create the plots
E : I src/plotcount.py
python src/plotcount.py results/isles.dat figures/isles.png
D : H src/plotcount.py
python src/plotcount.py results/abyss.dat figures/abyss.png
C : G src/plotcount.py
python src/plotcount.py results/last.dat figures/last.png
B : F src/plotcount.py
python src/plotcount.py results/sierra.dat figures/sierra.png
# write the report
A : B C D E
Rscript -e "rmarkdown::render('doc/count_report.Rmd')"