aboutsummaryrefslogtreecommitdiff
path: root/2019-installfest/nuttx-stm23/makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2019-03-03 10:38:53 +0100
committerKarel Kočí <cynerd@email.cz>2019-03-03 13:09:22 +0100
commit0fef5a870e748d47ef1992b1ba88834551881515 (patch)
tree83f793012b02970be7098f954b7ea88e2199ab6b /2019-installfest/nuttx-stm23/makefile
parent9fd25c4dd8bff24c5a09cb4c8e2edae45220ae89 (diff)
downloadpresentations-0fef5a870e748d47ef1992b1ba88834551881515.tar.gz
presentations-0fef5a870e748d47ef1992b1ba88834551881515.tar.bz2
presentations-0fef5a870e748d47ef1992b1ba88834551881515.zip
Installfest 2019: Nuttx na STM32
Diffstat (limited to '2019-installfest/nuttx-stm23/makefile')
-rw-r--r--2019-installfest/nuttx-stm23/makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/2019-installfest/nuttx-stm23/makefile b/2019-installfest/nuttx-stm23/makefile
new file mode 100644
index 0000000..7b97a99
--- /dev/null
+++ b/2019-installfest/nuttx-stm23/makefile
@@ -0,0 +1,10 @@
+FILE=pres
+
+$(FILE).pdf: $(FILE).tex $(patsubst %.svg,%.pdf,$(wildcard *.svg))
+ pdflatex -shell-escape $<
+
+%.pdf: %.svg
+ inkscape -D -z --file=$< --export-pdf=$@ --export-latex
+
+clean:
+ ls | grep -v -E "($(FILE).tex|makefile|scheme|svg|png|jpg|eps)$$" | xargs rm -rf