X-Git-Url: https://gitweb.ps.run/matrix_esp_thesis/blobdiff_plain/1273c8ea309926e377cbd5cc6dab6740910aa6ff..0b5fc6b640af6f13fe56a6e77598d96db78bb56c:/Makefile diff --git a/Makefile b/Makefile index 8197ee5..c82a055 100644 --- a/Makefile +++ b/Makefile @@ -12,9 +12,10 @@ C_OPTS+=-I ext/mongoose/ C_OPTS+=-l ws2_32 C_OPTS+=-l ssl C_OPTS+=-l crypto -C_OPTS+=out/olm/libolm.a +C_OPTS+=-l stdc++ +C_OPTS+=out/olmdbg/libolm.a C_OPTS+=-D MG_ENABLE_OPENSSL=1 -C_OPTS+=-fuse-ld=lld.exe -g -gcodeview -Wl,/debug,/pdb:test.pdb +C_OPTS+=-fuse-ld=lld.exe -g -gcodeview -Wl,/debug,/pdb:out/test.pdb # C_OPTS+=-I ext/curl/include/ # C_OPTS+=-L ext/curl/build/lib/ # C_OPTS+=-l curl @@ -26,4 +27,9 @@ out/examples/%: examples/%.c src/* .PHONY: examples -examples: out/examples/Login out/examples/Send out/examples/SendEncrypted out/examples/Sync \ No newline at end of file +examples: out/examples/Login out/examples/Send out/examples/SendEncrypted out/examples/Sync + +out/olm/libolm.a: + cd out/olm + cmake -DBUILD_SHARED_LIBS=OFF -DOLM_TESTS=OFF ../../ext/olm + cmake --build . \ No newline at end of file