aboutsummaryrefslogtreecommitdiff
path: root/arduino/Makefile.assignment
diff options
context:
space:
mode:
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