abouttreesummaryrefslogcommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick2023-05-20 00:02:34 +0200
committerPatrick2023-05-20 00:02:34 +0200
commit71b13552379398dafcbc8fa8347d119a8984f448 (patch)
tree5c43d7ec7e0e87c6fb4852c77c3668880bad7d2f /Makefile
parent7cba6b3cdbd3b82ec9092ce9bda8ec20739096cb (diff)
downloadmatrix_esp_thesis-71b13552379398dafcbc8fa8347d119a8984f448.tar.gz
matrix_esp_thesis-71b13552379398dafcbc8fa8347d119a8984f448.zip
get Login example working with CURL
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)