summary refs log tree commit diff
path: root/etc/psf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/psf/Makefile')
-rw-r--r--etc/psf/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/etc/psf/Makefile b/etc/psf/Makefile
new file mode 100644
index 00000000..e92178cd
--- /dev/null
+++ b/etc/psf/Makefile
@@ -0,0 +1,24 @@
+TABLE = default.u
+
+FONTS += sans6x8.psfu
+FONTS += sans6x10.psfu
+FONTS += sans6x12.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)