summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2022-05-05 18:21:28 +0100
committerYann Herklotz <git@yannherklotz.com>2022-05-05 18:21:28 +0100
commit886afc8243ac38a5322093211dd0f8ab395f400f (patch)
treec3da22455046b297486eee747f3b8ca2e8b66c67 /Makefile
parentfd3fb0d122ea8dcd7d382eb6f36f652300d78b6b (diff)
downloadlsr22_fvhls-886afc8243ac38a5322093211dd0f8ab395f400f.tar.gz
lsr22_fvhls-886afc8243ac38a5322093211dd0f8ab395f400f.zip
Remove latex dependency
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 282a3bb..f2114e8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,16 @@
MODE ?= main
+REBUILD_DEPS ?= yes
+DEPS :=
+
+ifeq ($(REBUILD_DEPS), yes)
+ DEPS += figures/timing-1.pdf figures/timing-2.pdf figures/timing-3.pdf
+endif
.PHONY: all clean
all: main.pdf
-main.pdf: figures/timing-1.pdf figures/timing-2.pdf figures/timing-3.pdf
+main.pdf: $(DEPS)
figures/%.pdf: figures/%.tex
latexmk -pdf -shell-escape $<