aboutsummaryrefslogtreecommitdiff
path: root/python/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'python/Makefile')
-rw-r--r--python/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/python/Makefile b/python/Makefile
index 5da703a..6283fb5 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -6,10 +6,13 @@ include/olm/olm.h: ../include/olm/olm.h ../include/olm/inbound_group_session.h .
# add memset to the header so that we can use it to clear buffers
echo 'void *memset(void *s, int c, size_t n);' >> include/olm/olm.h
-olm-python2: include/olm/olm.h
+include/olm/sas.h: include/olm/olm.h ../include/olm/sas.h
+ $(CPP) -I dummy -I ../include ../include/olm/sas.h -o include/olm/sas.h
+
+olm-python2: include/olm/olm.h include/olm/sas.h
DEVELOP=$(DEVELOP) python2 setup.py build
-olm-python3: include/olm/olm.h
+olm-python3: include/olm/olm.h include/olm/sas.h
DEVELOP=$(DEVELOP) python3 setup.py build
install: install-python2 install-python3