diff options
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 |
