summary refs log tree commit diff
path: root/port/wcwidth/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--port/wcwidth/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/port/wcwidth/Makefile b/port/wcwidth/Makefile
index 4fbb2863..f6932d6d 100644
--- a/port/wcwidth/Makefile
+++ b/port/wcwidth/Makefile
@@ -1,13 +1,16 @@
 PREFIX = ~/.local
 
-CFLAGS = -Dmk_wcwidth=wcwidth -Dmk_wcswidth=wcswidth
-
-OBJS = wcwidth.o
+OBJS = wcwidth.o wcswidth.o
 DYLIB = libwcwidth.dylib
 
 ${DYLIB}: ${OBJS}
 	${CC} -dynamiclib ${LDFLAGS} ${OBJS} -o $@
 
+wcwidth.o: nonspacing.h wide.h
+
+clean:
+	rm -f ${DYLIB} ${OBJS}
+
 install: ${DYLIB}
 	install -d ${PREFIX}/lib
 	install -m 644 ${DYLIB} ${PREFIX}/lib
ht'> Fall back to using bold if there are only 8 colors. This also allowed bright background colors in 16-color terminals. I must port this system to torus. I'll be able to remove the awful termcap patch hack. 2018-08-05Limit parsed colors to number of mIRC colorsJune McEnroe Oh boy that's embarrassing. 2018-08-04Show source link on exitJune McEnroe 2018-08-04Implement line editing, scrollingJune McEnroe Don't really have a way to implement the M-* keys, and currently missing C-w. 2018-08-04Handle /topicJune McEnroe