summary refs log tree commit diff
path: root/etc/psf/Makefile
blob: edbaf1204bf7dd71b73013ed169a293239181c70 (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
25
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)