diff options
-rwxr-xr-x | Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -6,19 +6,18 @@ | |||
6 | # configuration # | 6 | # configuration # |
7 | ############################################## | 7 | ############################################## |
8 | 8 | ||
9 | #CFLAGS = -Wall -Os | 9 | CFLAGS = -Wall -Os |
10 | CFLAGS = -Wall -g -ggdb | 10 | #CFLAGS = -Wall -g -ggdb |
11 | 11 | ||
12 | ## use this line when you've got an readline before 4.(x|2) | 12 | ## use this line when you've got an readline before 4.(x|2) |
13 | #CFLAGS += -DOLDREADLINE | 13 | #CFLAGS += -DOLDREADLINE |
14 | 14 | ||
15 | #CFLAGS += $(OLDREADLINE) | 15 | CFLAGS += $(OLDREADLINE) |
16 | 16 | ||
17 | ## you might need one or more of these: | 17 | ## you might need one or more of these: |
18 | #CFLAGS += -I/usr/local/ssl/include -L/usr/local/ssl/lib | 18 | #CFLAGS += -I/usr/local/ssl/include -L/usr/local/ssl/lib |
19 | #CFLAGS += -I/usr/local/include -L/usr/local/lib | 19 | #CFLAGS += -I/usr/local/include -L/usr/local/lib |
20 | #CFLAGS += -I/usr/pkg/include -L/usr/pkg/lib | 20 | #CFLAGS += -I/usr/pkg/include -L/usr/pkg/lib |
21 | CFLAGS+=-I../readline-6.2/ | ||
22 | 21 | ||
23 | ## enable dietlibc | 22 | ## enable dietlibc |
24 | #CC = diet cc | 23 | #CC = diet cc |
@@ -30,7 +29,7 @@ CFLAGS+=-I../readline-6.2/ | |||
30 | ## the install prefix best is /usr/local | 29 | ## the install prefix best is /usr/local |
31 | PREFIX=/usr/local | 30 | PREFIX=/usr/local |
32 | 31 | ||
33 | LIBS = ../readline-6.2/libreadline.a -lncurses -lssl -lcrypto | 32 | LIBS = -lreadline -lncurses -lssl -lcrypto |
34 | OBJS = vchat-client.o vchat-ui.o vchat-protocol.o vchat-user.o vchat-commands.o vchat-ssl.o | 33 | OBJS = vchat-client.o vchat-ui.o vchat-protocol.o vchat-user.o vchat-commands.o vchat-ssl.o |
35 | 34 | ||
36 | 35 | ||