abouttreesummaryrefslogcommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick2023-07-14 13:46:27 +0200
committerPatrick2023-07-14 13:46:27 +0200
commit4c72c6901e007414aebb4cb6534c1a49d63558b0 (patch)
treec0530fbda67888a8857e5a08222ee6d19c41f260 /Makefile
parent10325eaf40c80eb91f1c1eceea880c3abd54efd7 (diff)
downloadmatrix_esp_thesis-4c72c6901e007414aebb4cb6534c1a49d63558b0.tar.gz
matrix_esp_thesis-4c72c6901e007414aebb4cb6534c1a49d63558b0.zip
esp32 build, cli
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bfcb1de..e508b2e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CC=clang++
+CC=clang
C_OPTS=-Wall -Wextra -pedantic
C_OPTS+=src/matrix.c
@@ -12,9 +12,10 @@ C_OPTS+=-I ext/mongoose/
C_OPTS+=-l ws2_32
C_OPTS+=-l ssl
C_OPTS+=-l crypto
+C_OPTS+=-l stdc++
C_OPTS+=out/olm/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