C_OPTS+=-l ws2_32\r
C_OPTS+=-l ssl\r
C_OPTS+=-l crypto\r
-C_OPTS+=out/olm/libolm.a\r
+C_OPTS+=-l stdc++\r
+C_OPTS+=out/olmdbg/libolm.a\r
C_OPTS+=-D MG_ENABLE_OPENSSL=1\r
-C_OPTS+=-fuse-ld=lld.exe -g -gcodeview -Wl,/debug,/pdb:test.pdb\r
+C_OPTS+=-fuse-ld=lld.exe -g -gcodeview -Wl,/debug,/pdb:out/test.pdb\r
# C_OPTS+=-I ext/curl/include/\r
# C_OPTS+=-L ext/curl/build/lib/\r
# C_OPTS+=-l curl\r
\r
.PHONY: examples\r
\r
-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\r
+\r
+out/olm/libolm.a:\r
+ cd out/olm\r
+ cmake -DBUILD_SHARED_LIBS=OFF -DOLM_TESTS=OFF ../../ext/olm\r
+ cmake --build .
\ No newline at end of file