standard/favicon-256x256.png \
standard/apple-touch-icon.png
+# Render the BIOS boot logo
+OBJECTS += \
+ bios/boot-logo.bmp
+
# Colors
PRIMARY = ff2e52
DARK = 363636
# rsvg-convert command line
RSVG_CONVERT = rsvg-convert --keep-aspect-ratio
+# ImageMagick Convert
+MAGICK = magick
+
# Inkscape command line
INKSCAPE = inkscape $< --export-filename=$@
%-inverted.svg: %.svg
$(TO_INVERTED)
+# BIOS Boot Logo
+bios/boot-logo.bmp: logo-standalone.svg
+ mkdir -p $(dir $@) && \
+ $(RSVG_CONVERT) --width=360 $< | \
+ $(MAGICK) - -background "#$(WHITE)" -gravity center -extent 800x600 \
+ -alpha remove -alpha off -type TrueColor BMP3:$@
+
.PHONY: clean
clean:
# Remove all generated objects