diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -6,9 +6,10 @@ _TESTS:=$(shell find ./tests/ -maxdepth 1 -type f -regex ".*\.c") TESTS:=$(patsubst ./%.c,build/%,$(_TESTS)) LIMOX=build/limox +GRAPHICS=build/icon.png DOCS=build/docs/README.pdf build/docs/ROADMAP.pdf -all: build $(OBJ) $(TESTS) $(LIMOX) $(DOCS) +all: build $(OBJ) $(TESTS) $(LIMOX) $(DOCS) $(GRAPHICS) build: mkdir -p build/tests @@ -20,6 +21,9 @@ $(LIMOX): $(OBJ) build/main.o build/%.o: %.c $(CC) -c -o $@ $< $(CFLAGS) +build/%.png: %.svg + inkscape $< -o $@ -w 256 -h 256 + build/docs/%.pdf: %.md pandoc -o $@ $< |