Skip to content

Commit 0183ae9

Browse files
committed
add client and server static libraries to makefile
1 parent 0ae2219 commit 0183ae9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile.am

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ websocket_client_SOURCES = $(ECHO_CLIENT) $(COMMON) src/cwebsocket/client.h src/
99
websocket_server_SOURCES = $(ECHO_SERVER) $(COMMON) src/cwebsocket/server.h src/cwebsocket/server.c src/websocket-server.c
1010
websocket_testsuite_SOURCES = $(COMMON) src/cwebsocket/client.h src/cwebsocket/client.c src/websocket-testsuite.c
1111

12+
noinst_LIBRARIES = libwsclient.a libwsserver.a
13+
libwsclient_a_SOURCES = $(ECHO_CLIENT) $(COMMON) src/cwebsocket/client.h src/cwebsocket/client.c
14+
libwsserver_a_SOURCES = $(ECHO_SERVER) $(COMMON) src/cwebsocket/server.h src/cwebsocket/server.c
15+
1216
AM_CFLAGS= -Wall
1317

1418
if DEBUG
@@ -18,4 +22,4 @@ else
1822
endif
1923

2024
clean:
21-
rm -rf .gitignore vgcore.* autoscan.log config.h.in config.h config.cache configure install-sh aclocal.m4 autom4te.cache/ config.log config.status Debug/ depcomp .deps/ m4/ Makefile Makefile.in missing stamp-h1 *.o src/*.o *~ websocket-client websocket-server websocket-testsuite
25+
rm -rf libwsclient.a libwsserver.a .gitignore vgcore.* autoscan.log config.h.in config.h config.cache configure install-sh aclocal.m4 autom4te.cache/ config.log config.status Debug/ depcomp .deps/ m4/ Makefile Makefile.in missing stamp-h1 *.o src/*.o *~ websocket-client websocket-server websocket-testsuite

0 commit comments

Comments
 (0)