mirror of
https://github.com/0intro/conterm
synced 2024-11-21 13:21:50 +03:00
8de603bff1
On Windows, the clipboard strings are encoded in UTF-16. However, Drawterm considers them as Rune. It used to work when a Rune was a short, but a Rune is now a int. The solution is to implement Rune16 functions to handle UTF-16 strings. The Rune16 functions were written by Charles Forsyth as part of Inferno. Balaji Srinivasa integrated them into Drawterm.
21 lines
229 B
Makefile
21 lines
229 B
Makefile
ROOT=..
|
|
include ../Make.config
|
|
LIB=libgui.a
|
|
|
|
OFILES=\
|
|
alloc.$O\
|
|
cload.$O\
|
|
draw.$O\
|
|
load.$O\
|
|
screen.$O\
|
|
r16.$O
|
|
|
|
default: $(LIB)
|
|
$(LIB): $(OFILES)
|
|
$(AR) r $(LIB) $(OFILES)
|
|
$(RANLIB) $(LIB)
|
|
|
|
%.$O: %.c
|
|
$(CC) $(CFLAGS) $*.c
|
|
|