ser_cache add utf8idx to store utf8 chars

This commit is contained in:
cuu
2022-02-09 14:42:53 +08:00
parent 19830d15cd
commit 22e587aa7a
9 changed files with 397 additions and 49 deletions

View File

@@ -1,13 +1,13 @@
CC = gcc
CFLAGS = -g -Wall
LDFLAUS =
INCLUDES =
LIBS = -lwiringPi -lm -lcrypt -lpthread -lrt
LDFLAGS =
INCLUDES = -I /usr/include/freetype2
LIBS = -lwiringPi -lm -lcrypt -lpthread -lfreetype -lrt
MAIN = devterm_thermal_printer.elf
SRCS = printer.c devterm_thermal_printer.c utils.c
SRCS = printer.c devterm_thermal_printer.c utils.c ftype.c utf8-utils.c
OBJS = $(SRCS:.c=.o)
.PHONY: depend clean