summary refs log tree commit diff
path: root/etc/psf/Makefile
blob: e92178cd27814212cbc058675905316bde8e4e11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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)