abouttreesummaryrefslogcommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d19abaa..f30f057 100644
--- a/Makefile
+++ b/Makefile
@@ -3,9 +3,13 @@ CC=gcc
C_OPTS=-Wall -Wextra -pedantic
C_OPTS+=-I src/
C_OPTS+=-I ext/olm/include/
+C_OPTS+=-I ext/mjson/src
C_OPTS+=src/matrix.c
+C_OPTS+=src/matrix_http_curl.c
+C_OPTS+=ext/mjson/src/mjson.c
+C_OPTS+=-l curl
-out/examples/%: examples/%.c
+out/examples/%: examples/%.c src/*
$(CC) -o out/examples/$* examples/$*.c $(C_OPTS)