diff options
| author | Patrick | 2023-05-15 18:47:59 +0200 |
|---|---|---|
| committer | Patrick | 2023-05-15 18:47:59 +0200 |
| commit | d43e8671acc5709c192e159e0d91626f0677cdf1 (patch) | |
| tree | 85d2c65ddb3c36bea1e9ea814cf9434e52fcae97 /Makefile | |
| download | matrix_esp_thesis-d43e8671acc5709c192e159e0d91626f0677cdf1.tar.gz matrix_esp_thesis-d43e8671acc5709c192e159e0d91626f0677cdf1.zip | |
Initial commit. Rudimentary readme, mockup examples without actual implementation, Makefile, Olm submodule
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d19abaa --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +CC=gcc
+
+C_OPTS=-Wall -Wextra -pedantic
+C_OPTS+=-I src/
+C_OPTS+=-I ext/olm/include/
+C_OPTS+=src/matrix.c
+
+out/examples/%: examples/%.c
+ $(CC) -o out/examples/$* examples/$*.c $(C_OPTS)
+
+
+.PHONY: examples
+
+examples: out/examples/Login out/examples/Send out/examples/SendEncrypted out/examples/Sync
\ No newline at end of file |
