abouttreesummaryrefslogcommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 88b1941..8197ee5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CC=gcc
+CC=clang++
C_OPTS=-Wall -Wextra -pedantic
C_OPTS+=src/matrix.c
@@ -9,12 +9,12 @@ C_OPTS+=-I src/
C_OPTS+=-I ext/olm/include/
C_OPTS+=-I ext/mjson/src/
C_OPTS+=-I ext/mongoose/
-C_OPTS+=-L out/olm/
C_OPTS+=-l ws2_32
C_OPTS+=-l ssl
C_OPTS+=-l crypto
-C_OPTS+=-l olm
+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+=-I ext/curl/include/
# C_OPTS+=-L ext/curl/build/lib/
# C_OPTS+=-l curl