update build system to make it auto-adapt to include python support or not into MLIAP
This commit is contained in:
@ -2,6 +2,6 @@
|
||||
# See the README file for more explanation
|
||||
|
||||
python_SYSINC = $(shell which python-config > /dev/null 2>&1 && python-config --includes || :)
|
||||
python_SYSLIB = $(shell which python-config > /dev/null 2>&1 && python-config --ldflags || :)
|
||||
python_SYSLIB = -lpython3 $(shell which python-config > /dev/null 2>&1 && python-config --ldflags || :)
|
||||
python_SYSPATH =
|
||||
PYTHON=python
|
||||
|
||||
3
lib/python/Makefile.mliap_python
Normal file
3
lib/python/Makefile.mliap_python
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
../mliap_model_python_couple.cpp: ../mliap_model_python_couple.pyx
|
||||
cythonize -3 ../mliap_model_python_couple.cpp
|
||||
Reference in New Issue
Block a user