]> gitweb.ps.run Git - matrix_esp_thesis/blobdiff - Makefile
esp32 build, cli
[matrix_esp_thesis] / Makefile
index bfcb1dec63e1705ef42f59c9a3a8842b85fcc77d..e508b2e7310b52260cb8d8fdbdcdadd20fea6bc0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CC=clang++\r
+CC=clang\r
 \r
 C_OPTS=-Wall -Wextra -pedantic\r
 C_OPTS+=src/matrix.c\r
@@ -12,9 +12,10 @@ C_OPTS+=-I ext/mongoose/
 C_OPTS+=-l ws2_32\r
 C_OPTS+=-l ssl\r
 C_OPTS+=-l crypto\r
+C_OPTS+=-l stdc++\r
 C_OPTS+=out/olm/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