u8g2-copy/tools/font/bdfconv/Makefile

38 lines
975 B
Makefile
Raw Normal View History

2015-11-07 20:00:10 +08:00
# works within ubuntu and min-gw (win7) environment
# win7 exe uploaded on google drive
2016-04-21 21:25:22 +08:00
CC = gcc
2015-11-07 20:00:10 +08:00
CFLAGS = -g -Wall
#CFLAGS = -O4 -Wall
SRC = main.c bdf_font.c bdf_glyph.c bdf_parser.c bdf_map.c bdf_rle.c bdf_tga.c fd.c bdf_8x8.c
OBJ = $(SRC:.c=.o)
ASM = $(SRC:.c=.s)
.c.s:
$(CC) $(CFLAGS) -S -o $@ $<
bdfconv: $(OBJ) $(ASM)
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -o bdfconv
clean:
-rm $(OBJ) $(ASM) bdfconv
test:
2015-11-09 02:02:19 +08:00
./bdfconv
greek:
./bdfconv -f 1 -v -m '32-127,$$370-$$3ff' ../bdf/unifont.bdf -n unifont_greek -o unifont_greek.c -d ../bdf/7x13.bdf
helvb18:
./bdfconv -f 1 -m '32-127' ../bdf/helvB18.bdf -o helvb18_tr.c -n u8g2_font_helvB18_tr
2015-11-22 17:10:47 +08:00
helvb18n:
./bdfconv -v -f 1 -m '32,48-57' ../bdf/helvB18.bdf -o helvb18_tn.c -n u8g2_font_helvB18_tn -d ../bdf/helvB18.bdf
2015-11-23 06:28:55 +08:00
artos:
./bdfconv -b 3 -d ../bdf/7x13.bdf ../bdf/ArtosSerif-8.bdf -a -v
2015-11-09 02:02:19 +08:00
2016-04-21 21:25:22 +08:00
# http://stackoverflow.com/questions/713397/what-is-a-minimal-set-of-unicode-characters-for-reasonable-japanese-support