]> gitweb.ps.run Git - matrix_esp_thesis/blobdiff - Makefile
dont need length variables everywhere (i think)
[matrix_esp_thesis] / Makefile
index d19abaa22537315f818f4fe2c0e5a3677356ca09..82c259ab65a27aa1862edd8649c5fb4aa731e656 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,26 @@
 CC=gcc\r
 \r
 C_OPTS=-Wall -Wextra -pedantic\r
+C_OPTS+=src/matrix.c\r
+C_OPTS+=src/matrix_http_mongoose.c\r
+C_OPTS+=ext/mjson/src/mjson.c\r
+C_OPTS+=ext/mongoose/mongoose.c\r
 C_OPTS+=-I src/\r
 C_OPTS+=-I ext/olm/include/\r
-C_OPTS+=src/matrix.c\r
+C_OPTS+=-I ext/mjson/src/\r
+C_OPTS+=-I ext/mongoose/\r
+C_OPTS+=-l ws2_32\r
+C_OPTS+=-l ssl\r
+C_OPTS+=-l crypto\r
+C_OPTS+=-D MG_ENABLE_OPENSSL=1\r
+C_OPTS+=-g\r
+# C_OPTS+=-I ext/curl/include/\r
+# C_OPTS+=-L ext/curl/build/lib/\r
+# C_OPTS+=-l curl\r
+\r
+#C_OPTS+=-Wl,--verbose\r
 \r
-out/examples/%: examples/%.c\r
+out/examples/%: examples/%.c src/*\r
        $(CC) -o out/examples/$* examples/$*.c $(C_OPTS)\r
 \r
 \r