summary refs log tree commit diff
path: root/etc/psf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--etc/psf/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/psf/Makefile b/etc/psf/Makefile
new file mode 100644
index 00000000..edbaf120
--- /dev/null
+++ b/etc/psf/Makefile
@@ -0,0 +1,26 @@
+TABLE = default.u
+
+FONTS += sans6x8.psfu
+FONTS += sans6x10.psfu
+FONTS += sans6x12.psfu
+FONTS += sans8x16.psfu
+FONTS += serif8x16.psfu
+
+PNGS = $(FONTS:psfu=png)
+
+all: $(FONTS)
+
+png: $(PNGS)
+
+$(FONTS): $(TABLE)
+
+.SUFFIXES: .psf .psfu .png
+
+.psf.psfu:
+	psfaddtable $< $(TABLE) $@
+
+.psf.png:
+	psf2png $< > $@
+
+clean:
+	rm -f $(FONTS) $(PNGS)