summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2022-05-21 13:28:02 +0200
committerDirk Engling <erdgeist@erdgeist.org>2022-05-21 13:28:02 +0200
commit5c6df177d40c0473dd51338277892f5576760e6f (patch)
tree59447c33dbd8b025f606ee772855403b1154b3cc
parentf1fa71921bf2dde2896fd6b92d0827d99d5a2554 (diff)
Tidy up the Makefile
-rwxr-xr-xMakefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8625024..c0c2225 100755
--- a/Makefile
+++ b/Makefile
@@ -8,13 +8,16 @@
8 8
9OBJS = vchat-client.o vchat-ui.o vchat-protocol.o vchat-user.o vchat-commands.o vchat-tls.o vchat-connection.o 9OBJS = vchat-client.o vchat-ui.o vchat-protocol.o vchat-user.o vchat-commands.o vchat-tls.o vchat-connection.o
10 10
11LIBS = -lncurses 11LIBS = -lncursesw
12LIBS += -lreadline 12LIBS += -lreadline
13 13
14CFLAGS = -Wall -Os 14CFLAGS += -Wall -Os
15 15
16## use this line when you've got an readline before 4.(x|2) 16## use this line when you've got an readline before 4.(x|2)
17#CFLAGS += -DOLDREADLINE 17#CFLAGS += -DOLDREADLINE
18
19# Alternatively, you can just build with make OLDREADLINE=-DOLDREADLINE
20# if you can't modify this Makefile
18CFLAGS += $(OLDREADLINE) 21CFLAGS += $(OLDREADLINE)
19 22
20##### Enable this for using the OpenSSL library 23##### Enable this for using the OpenSSL library