forked from GitHub/gf-core
Autocompute python version in py-binds.
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
src=../../src
|
src=../../src
|
||||||
import=-i$(src)/runtime/haskell:$(src)/compiler
|
import=-i$(src)/runtime/haskell:$(src)/compiler
|
||||||
cbind=../c-bindings
|
cbind=../c-bindings
|
||||||
pythoninc=/usr/include/python2.6
|
pyversion = $(shell python -c 'import sys; print ".".join(`t` for t in sys.version_info[:2])')
|
||||||
|
pythoninc=/usr/include/python$(pyversion)
|
||||||
debug= #-optc '-DDEBUG=1'
|
debug= #-optc '-DDEBUG=1'
|
||||||
exdir=../../examples/tutorial/embedded
|
exdir=../../examples/tutorial/embedded
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user