From efce80ac6cfb437d8519e80d99c0c1f15bcca524 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 22 Jan 2023 13:04:11 +0100 Subject: Add initial icon This will be needed for a GUI. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b422c10..7d5269a 100644 --- a/Makefile +++ b/Makefile @@ -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 $@ $< -- cgit v1.2.3-70-g09d2