aboutsummaryrefslogtreecommitdiff
path: root/arduino/Makefile.assignment
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-04-25 09:03:31 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-04-25 09:03:31 +0200
commit42ec7df723ece5c2c4400d8db24e3a2ac6b826d0 (patch)
treeb60357f2fd4cae75fa12816fe22284d454ca39b9 /arduino/Makefile.assignment
parentfc8c037b80dea764393b79cba85a83004bd0aef6 (diff)
downloadiot-workshop-42ec7df723ece5c2c4400d8db24e3a2ac6b826d0.tar.gz
iot-workshop-42ec7df723ece5c2c4400d8db24e3a2ac6b826d0.tar.bz2
iot-workshop-42ec7df723ece5c2c4400d8db24e3a2ac6b826d0.tar.xz
iot-workshop-42ec7df723ece5c2c4400d8db24e3a2ac6b826d0.zip
wip
Diffstat (limited to 'arduino/Makefile.assignment')
-rw-r--r--arduino/Makefile.assignment8
1 files changed, 8 insertions, 0 deletions
diff --git a/arduino/Makefile.assignment b/arduino/Makefile.assignment
new file mode 100644
index 0000000..d05662f
--- /dev/null
+++ b/arduino/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