aboutsummaryrefslogtreecommitdiff
path: root/eindopdracht/makefile
diff options
context:
space:
mode:
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