diff options
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -6,18 +6,19 @@ | |||
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/ | ||
21 | 22 | ||
22 | ## enable dietlibc | 23 | ## enable dietlibc |
23 | #CC = diet cc | 24 | #CC = diet cc |
@@ -29,7 +30,7 @@ CFLAGS += $(OLDREADLINE) | |||
29 | ## the install prefix best is /usr/local | 30 | ## the install prefix best is /usr/local |
30 | PREFIX=/usr/local | 31 | PREFIX=/usr/local |
31 | 32 | ||
32 | LIBS = -lreadline -lncurses -lssl -lcrypto | 33 | LIBS = ../readline-6.2/libreadline.a -lncurses -lssl -lcrypto |
33 | OBJS = vchat-client.o vchat-ui.o vchat-protocol.o vchat-user.o vchat-commands.o vchat-ssl.o | 34 | OBJS = vchat-client.o vchat-ui.o vchat-protocol.o vchat-user.o vchat-commands.o vchat-ssl.o |
34 | 35 | ||
35 | 36 | ||