Initial integration with libdeltachat

This implements configuration, connection, sending and receiving IMs in the
simplest possible way. Lots and lots of cases are not handled.
This commit is contained in:
2018-05-02 02:09:59 +01:00
parent 2049e30dc5
commit de213f2b7a
7 changed files with 285 additions and 39 deletions

View File

@@ -1,17 +1,18 @@
CC ?= gcc
PREFIX ?= /usr/local
libdelta.so: *.c *.h
libdelta.so: *.c *.h Makefile
$(CC) -C \
-Wall -Wextra -Werror \
-std=c11 \
-shared \
-fpic \
$(shell pkg-config --cflags purple) \
$(shell pkg-config --cflags purple libsoup-2.4) \
-o libdelta.so \
*.c \
-shared \
$(shell pkg-config --libs purple)
$(shell pkg-config --libs purple libsoup-2.4) \
-ldeltachat
clean:
rm libdelta.so