summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7d5269a..9777e90 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ _TESTS:=$(shell find ./tests/ -maxdepth 1 -type f -regex ".*\.c")
TESTS:=$(patsubst ./%.c,build/%,$(_TESTS))
LIMOX=build/limox
-GRAPHICS=build/icon.png
+GRAPHICS=build/icon.png build/icon.pdf
DOCS=build/docs/README.pdf build/docs/ROADMAP.pdf
all: build $(OBJ) $(TESTS) $(LIMOX) $(DOCS) $(GRAPHICS)
@@ -24,7 +24,10 @@ build/%.o: %.c
build/%.png: %.svg
inkscape $< -o $@ -w 256 -h 256
-build/docs/%.pdf: %.md
+build/%.pdf: %.svg
+ inkscape $< -o $@ -w 256 -h 256
+
+build/docs/%.pdf: %.md $(GRAPHICS)
pandoc -o $@ $<
build/tests/%: tests/%.c $(OBJ)