diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2022-05-21 13:28:02 +0200 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2022-05-21 13:28:02 +0200 |
| commit | 5c6df177d40c0473dd51338277892f5576760e6f (patch) | |
| tree | 59447c33dbd8b025f606ee772855403b1154b3cc | |
| parent | f1fa71921bf2dde2896fd6b92d0827d99d5a2554 (diff) | |
Tidy up the Makefile
| -rwxr-xr-x | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
| @@ -8,13 +8,16 @@ | |||
| 8 | 8 | ||
| 9 | OBJS = vchat-client.o vchat-ui.o vchat-protocol.o vchat-user.o vchat-commands.o vchat-tls.o vchat-connection.o | 9 | OBJS = vchat-client.o vchat-ui.o vchat-protocol.o vchat-user.o vchat-commands.o vchat-tls.o vchat-connection.o |
| 10 | 10 | ||
| 11 | LIBS = -lncurses | 11 | LIBS = -lncursesw |
| 12 | LIBS += -lreadline | 12 | LIBS += -lreadline |
| 13 | 13 | ||
| 14 | CFLAGS = -Wall -Os | 14 | CFLAGS += -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 | ||
| 18 | CFLAGS += $(OLDREADLINE) | 21 | CFLAGS += $(OLDREADLINE) |
| 19 | 22 | ||
| 20 | ##### Enable this for using the OpenSSL library | 23 | ##### Enable this for using the OpenSSL library |
