aboutsummaryrefslogtreecommitdiff
path: root/eindopdracht/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-10-08 17:04:43 +0200
committerlonkaars <loek@pipeframe.xyz>2022-10-08 17:04:43 +0200
commit4c00ac22729c3f354df423373da8da6fa22617ba (patch)
tree327ee04cc6f843f1f1a4dee8f27e814f458cab77 /eindopdracht/makefile
parentbd67527a240f0e027d7375c7b03995b4ce1b4bef (diff)
alle opdrachten van eindopdracht behalve applicatie maken zelf af
Diffstat (limited to 'eindopdracht/makefile')
-rw-r--r--eindopdracht/makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/eindopdracht/makefile b/eindopdracht/makefile
new file mode 100644
index 0000000..3bac82c
--- /dev/null
+++ b/eindopdracht/makefile
@@ -0,0 +1,16 @@
+RM = rm -f
+TARGET := eindopdracht
+QUERY_SQL += q5.sql
+
+all: $(TARGET).md
+
+nfs.csv: nfs.xlsx
+ xlsx2csv -dtab -qnone $< | sed '1d' > $@
+
+q5.sql: nfs.csv
+ ./import.js $< | cat b5.sql - > $@
+
+clean::
+ rm q5.sql nfs.csv
+
+include ../common.mk