From 5c6df177d40c0473dd51338277892f5576760e6f Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sat, 21 May 2022 13:28:02 +0200 Subject: Tidy up the Makefile --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8625024..c0c2225 100755 --- a/Makefile +++ b/Makefile @@ -8,13 +8,16 @@ OBJS = vchat-client.o vchat-ui.o vchat-protocol.o vchat-user.o vchat-commands.o vchat-tls.o vchat-connection.o -LIBS = -lncurses +LIBS = -lncursesw LIBS += -lreadline -CFLAGS = -Wall -Os +CFLAGS += -Wall -Os ## use this line when you've got an readline before 4.(x|2) #CFLAGS += -DOLDREADLINE + +# Alternatively, you can just build with make OLDREADLINE=-DOLDREADLINE +# if you can't modify this Makefile CFLAGS += $(OLDREADLINE) ##### Enable this for using the OpenSSL library -- cgit v1.2.3