aboutsummaryrefslogtreecommitdiff
path: root/assignments/Makefile.assignment
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-04-25 09:21:13 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-04-25 09:21:13 +0200
commit4bae244f426a39951f404af8f752f715a151f20e (patch)
tree792b45c2f035a5ae8c974025d9510b730aebe644 /assignments/Makefile.assignment
parent42ec7df723ece5c2c4400d8db24e3a2ac6b826d0 (diff)
downloadiot-workshop-4bae244f426a39951f404af8f752f715a151f20e.tar.gz
iot-workshop-4bae244f426a39951f404af8f752f715a151f20e.tar.bz2
iot-workshop-4bae244f426a39951f404af8f752f715a151f20e.tar.xz
iot-workshop-4bae244f426a39951f404af8f752f715a151f20e.zip
o Renaming arduino to assignments.
Diffstat (limited to 'assignments/Makefile.assignment')
-rw-r--r--assignments/Makefile.assignment8
1 files changed, 8 insertions, 0 deletions
diff --git a/assignments/Makefile.assignment b/assignments/Makefile.assignment
new file mode 100644
index 0000000..d05662f
--- /dev/null
+++ b/assignments/Makefile.assignment
@@ -0,0 +1,8 @@
+all: $(DIR)/$(A).pdf
+
+$(DIR)/$(A).pdf: $(DIR)/$(A).md
+ @echo pandoc $(A).md
+ @cd $(DIR); pandoc $(patsubst $(DIR)/%,%,$<) -o $(patsubst $(DIR)/%,%,$@)
+
+clean:
+ @rm -f $(DIR)/$(A).pdf