X-Git-Url: https://gitweb.ps.run/matrix_esp_thesis/blobdiff_plain/5cb22046a33f24c1a696990f95e13d534efef497..1273c8ea309926e377cbd5cc6dab6740910aa6ff:/Makefile diff --git a/Makefile b/Makefile index 82c259a..8197ee5 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CC=gcc +CC=clang++ C_OPTS=-Wall -Wextra -pedantic C_OPTS+=src/matrix.c @@ -12,8 +12,9 @@ C_OPTS+=-I ext/mongoose/ C_OPTS+=-l ws2_32 C_OPTS+=-l ssl C_OPTS+=-l crypto +C_OPTS+=out/olm/libolm.a C_OPTS+=-D MG_ENABLE_OPENSSL=1 -C_OPTS+=-g +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 @@ -23,7 +24,6 @@ C_OPTS+=-g out/examples/%: examples/%.c src/* $(CC) -o out/examples/$* examples/$*.c $(C_OPTS) - .PHONY: examples examples: out/examples/Login out/examples/Send out/examples/SendEncrypted out/examples/Sync \ No newline at end of file