26 lines
693 B
Makefile
26 lines
693 B
Makefile
NAME := VideowayMono
|
|
SIZE := 11
|
|
FILES := ${NAME}.bdf ${NAME}.ttf ${NAME}.otb ${NAME}.psf ${NAME}.fnt ${NAME}.dfont
|
|
|
|
.SUFFIXES: .sfd .bdf .otb .psf .fnt .dfont .ttf
|
|
|
|
all: ${FILES}
|
|
|
|
.sfd.bdf:
|
|
fontforge -quiet -lang ff -c 'Open("$<");Generate("$@","bdf")'
|
|
mv *-${SIZE}.bdf $@
|
|
.sfd.otb:
|
|
fontforge -quiet -lang ff -c 'Open("$<");Generate("$@","otb")'
|
|
.sfd.psf:
|
|
fontforge -quiet -lang ff -c 'Open("$<");Generate("$@","psf")'
|
|
.sfd.fnt:
|
|
fontforge -quiet -lang ff -c 'Open("$<");Generate("$@","fnt")'
|
|
mv *-${SIZE}.fnt $@
|
|
.sfd.dfont:
|
|
fontforge -quiet -lang ff -c 'Open("$<");Generate("$@", "sbit")'
|
|
.bdf.ttf:
|
|
rm -f $@
|
|
bitsnpicas convertbitmap -f ttf -o $@ $<
|
|
|
|
clean:
|
|
rm -f ${FILES} ${NAME}.afm
|