aboutsummaryrefslogtreecommitdiff
path: root/assignments/Makefile
diff options
context:
space:
mode:
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 $@)