aboutsummaryrefslogtreecommitdiff
path: root/assignments/Makefile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-04-26 19:46:03 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-04-26 19:46:03 +0200
commit02e2780d233c2d73fcbd32a2a970d5a6f3696224 (patch)
tree2e0e008622b22f921857e297197836c8f563365a /assignments/Makefile
parent4c9176f3a07ea8c10301e08f659e3781f69d7a7c (diff)
downloadiot-workshop-02e2780d233c2d73fcbd32a2a970d5a6f3696224.tar.gz
iot-workshop-02e2780d233c2d73fcbd32a2a970d5a6f3696224.tar.bz2
iot-workshop-02e2780d233c2d73fcbd32a2a970d5a6f3696224.tar.xz
iot-workshop-02e2780d233c2d73fcbd32a2a970d5a6f3696224.zip
wip
Diffstat (limited to 'assignments/Makefile')
-rw-r--r--assignments/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/assignments/Makefile b/assignments/Makefile
index 864864e..2f97a07 100644
--- a/assignments/Makefile
+++ b/assignments/Makefile
@@ -1,4 +1,7 @@
-AS=blink-a-led mqtt
+AS =
+AS += blink-a-led
+AS += read-temperature
+AS += mqtt
PDFS=$(foreach A,$(AS),$(A)/$(A).pdf)
@@ -10,6 +13,9 @@ $(1)/$(1).pdf: $(1)/$(1).md
endef
$(eval $(foreach A,$(AS),$(call $(A_PATTERN),$(A))))
+clean:
+ @rm $(wildcard $(PDFS))
+
%.pdf: %.md
@echo pandoc $<
@cd $(dir $<); pandoc $(notdir $<) -o $(notdir $@)