From aef9b33982cb094d642ba78fede46fc5a71f6920 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Fri, 28 Sep 2018 15:23:30 -0400 Subject: Add png target in etc/psf --- etc/psf/.gitignore | 1 + etc/psf/Makefile | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/etc/psf/.gitignore b/etc/psf/.gitignore index 6604437f..446e6b46 100644 --- a/etc/psf/.gitignore +++ b/etc/psf/.gitignore @@ -1 +1,2 @@ +*.png *.psfu diff --git a/etc/psf/Makefile b/etc/psf/Makefile index 1b535d7f..a3277b4e 100644 --- a/etc/psf/Makefile +++ b/etc/psf/Makefile @@ -1,15 +1,21 @@ TABLE = default.u FONTS += sans6x8.psfu +PNGS = $(FONTS:psfu=png) all: $(FONTS) +png: $(PNGS) + $(FONTS): $(TABLE) -.SUFFIXES: .psf .psfu +.SUFFIXES: .psf .psfu .png .psf.psfu: psfaddtable $< $(TABLE) $@ +.psf.png: + psf2png $< > $@ + clean: - rm -f $(FONTS) + rm -f $(FONTS) $(PNGS) -- cgit 1.4.1