abouttreesummaryrefslogcommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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