diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2018-10-12 18:53:18 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2018-10-12 18:53:18 -0400 |
commit | d4b2cce60345662512238f5e26bd4eff2d83ba4c (patch) | |
tree | e1f33d6acfe2fcebee066b0af58d229e5c0ee308 /python/Makefile | |
parent | 5cf074d3372f1e189fe410a075013adefabb1aa5 (diff) |
generate python/include/olm/olm.h automatically
Diffstat (limited to 'python/Makefile')
-rw-r--r-- | python/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/python/Makefile b/python/Makefile index 2ab839c..ad2621c 100644 --- a/python/Makefile +++ b/python/Makefile @@ -2,7 +2,11 @@ PYTHON ?= python all: olm -olm: +include/olm/olm.h: ../include/olm/olm.h ../include/olm/inbound_group_session.h ../include/olm/outbound_group_session.h + mkdir -p include/olm + $(CPP) -I dummy -I ../include ../include/olm/olm.h -o include/olm/olm.h + +olm: include/olm/olm.h DEVELOP=$(DEVELOP) $(PYTHON) setup.py build install: olm |