summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-01-22 13:04:11 +0100
committerxengineering <me@xengineering.eu>2023-01-22 13:04:11 +0100
commitefce80ac6cfb437d8519e80d99c0c1f15bcca524 (patch)
tree15f9c150d1cbca60eb6074ad74cdc6bb75ebc7c5 /Makefile
parent29e48e3e550fd8eec79be50c592850dec396f1ba (diff)
downloadlimox-efce80ac6cfb437d8519e80d99c0c1f15bcca524.tar
limox-efce80ac6cfb437d8519e80d99c0c1f15bcca524.tar.zst
limox-efce80ac6cfb437d8519e80d99c0c1f15bcca524.zip
Add initial icon
This will be needed for a GUI.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
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 $@ $<