diff options
author | xengineering <me@xengineering.eu> | 2023-01-22 13:04:11 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-01-22 13:04:11 +0100 |
commit | efce80ac6cfb437d8519e80d99c0c1f15bcca524 (patch) | |
tree | 15f9c150d1cbca60eb6074ad74cdc6bb75ebc7c5 /Makefile | |
parent | 29e48e3e550fd8eec79be50c592850dec396f1ba (diff) | |
download | limox-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-- | 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 $@ $< |