diff options
| author | Patrick | 2023-05-20 00:02:34 +0200 |
|---|---|---|
| committer | Patrick | 2023-05-20 00:02:34 +0200 |
| commit | 71b13552379398dafcbc8fa8347d119a8984f448 (patch) | |
| tree | 5c43d7ec7e0e87c6fb4852c77c3668880bad7d2f /Makefile | |
| parent | 7cba6b3cdbd3b82ec9092ce9bda8ec20739096cb (diff) | |
| download | matrix_esp_thesis-71b13552379398dafcbc8fa8347d119a8984f448.tar.gz matrix_esp_thesis-71b13552379398dafcbc8fa8347d119a8984f448.zip | |
get Login example working with CURL
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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)
|
