/[cvs]/eggdrop1.9/testcode/Makefile
ViewVC logotype

Contents of /eggdrop1.9/testcode/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Sat May 4 13:32:32 2002 UTC (18 years, 11 months ago) by tothwolf
Branch: MAIN
Changes since 1.4: +13 -42 lines
Simplified build rules and added a clean target.

1 CFLAGS=-g
2 PROGS=chat client sclient ipv6
3
4 all: $(PROGS)
5
6 chat: chat.o linemode.o zipmode.o my_socket.o sockbuf.o sslmode.o
7 gcc $(CFLAGS) chat.o linemode.o zipmode.o my_socket.o sockbuf.o sslmode.o -lz -lssl -lcrypto -o chat
8
9 client: client.o linemode.o zipmode.o my_socket.o sockbuf.o sslmode.o
10 gcc $(CFLAGS) client.o linemode.o zipmode.o my_socket.o sockbuf.o sslmode.o -lz -lssl -lcrypto -o client
11
12 sclient: sclient.o socks5.o socks4.o http.o base64.o linemode.o zipmode.o my_socket.o sockbuf.o sslmode.o
13 gcc $(CFLAGS) sclient.o socks5.o socks4.o http.o base64.o linemode.o zipmode.o my_socket.o sockbuf.o sslmode.o -lz -lssl -lcrypto -o sclient
14
15 ipv6: ipv6.o my_socket.o sockbuf.o linemode.o
16 gcc $(CFLAGS) ipv6.o my_socket.o sockbuf.o linemode.o -o ipv6
17
18 clean:
19 rm -f *.o $(PROGS)
20
21 # Now, isn't this much simpler? ;P
22 .c.o:
23 gcc $(CFLAGS) -c $<

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23