mirror of
https://github.com/bqv/weechat-xmpp/
synced 2024-11-18 03:25:37 +00:00
Build libjson-c before too
This commit is contained in:
parent
a953a2de51
commit
afd30dd0d1
4
Makefile
4
Makefile
@ -42,15 +42,13 @@ libwebsockets/lib/libwebsockets.a:
|
|||||||
cd libwebsockets && cmake -DLWS_STATIC_PIC=ON -DLWS_WITH_SHARED=OFF -DLWS_WITHOUT_TESTAPPS=ON -DLWS_WITH_LIBEV=OFF -DLWS_WITH_LIBUV=OFF -DLWS_WITH_LIBEVENT=OFF -DCMAKE_BUILD_TYPE=DEBUG .
|
cd libwebsockets && cmake -DLWS_STATIC_PIC=ON -DLWS_WITH_SHARED=OFF -DLWS_WITHOUT_TESTAPPS=ON -DLWS_WITH_LIBEV=OFF -DLWS_WITH_LIBUV=OFF -DLWS_WITH_LIBEVENT=OFF -DCMAKE_BUILD_TYPE=DEBUG .
|
||||||
$(MAKE) -C libwebsockets
|
$(MAKE) -C libwebsockets
|
||||||
|
|
||||||
libwebsockets/include/libwebsockets.h: libwebsockets/lib/libwebsockets.a
|
|
||||||
|
|
||||||
json-c/libjson-c.a:
|
json-c/libjson-c.a:
|
||||||
cd json-c && cmake -DCMAKE_C_FLAGS=-fPIC .
|
cd json-c && cmake -DCMAKE_C_FLAGS=-fPIC .
|
||||||
$(MAKE) -C json-c json-c-static
|
$(MAKE) -C json-c json-c-static
|
||||||
|
|
||||||
depend: .depend
|
depend: .depend
|
||||||
|
|
||||||
.depend: libwebsockets/include/libwebsockets.h $(SRCS)
|
.depend: libwebsockets/lib/libwebsockets.a json_c/libjson-c.a $(SRCS)
|
||||||
$(RM) ./.depend
|
$(RM) ./.depend
|
||||||
$(CC) $(CFLAGS) -MM $^>>./.depend;
|
$(CC) $(CFLAGS) -MM $^>>./.depend;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user