c465aef835
Pull in LGPL md5.c and md5.h files (written by Ulrich Drepper). Now both python and C version of the proxy support both protocol 75 and protocol 76 (hybi 00). Reorganize websocket.py slightly to match websocket.c.
12 lines
262 B
Makefile
12 lines
262 B
Makefile
wsproxy: wsproxy.o websocket.o md5.o
|
|
$(CC) $^ -l ssl -l resolv -o $@
|
|
|
|
websocket.o: websocket.c websocket.h md5.h
|
|
wsproxy.o: wsproxy.c websocket.h
|
|
md5.o: md5.c md5.h
|
|
$(CC) -c -o $@ $*.c -DHAVE_MEMCPY -DSTDC_HEADERS
|
|
|
|
clean:
|
|
rm -f wsproxy wsproxy.o websocket.o
|
|
|