]> gitweb.ps.run Git - matrix_esp_thesis/blobdiff - Makefile
add mongoose submodule
[matrix_esp_thesis] / Makefile
index d19abaa22537315f818f4fe2c0e5a3677356ca09..f30f0578072bf46f15d4c4505bc7a06009997b5e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,9 +3,13 @@ CC=gcc
 C_OPTS=-Wall -Wextra -pedantic\r
 C_OPTS+=-I src/\r
 C_OPTS+=-I ext/olm/include/\r
+C_OPTS+=-I ext/mjson/src\r
 C_OPTS+=src/matrix.c\r
+C_OPTS+=src/matrix_http_curl.c\r
+C_OPTS+=ext/mjson/src/mjson.c\r
+C_OPTS+=-l curl\r
 \r
-out/examples/%: examples/%.c\r
+out/examples/%: examples/%.c src/*\r
        $(CC) -o out/examples/$* examples/$*.c $(C_OPTS)\r
 \r
 \r