diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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) |