aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/py')
-rw-r--r--externals/grill/py/build/config-win.def5
-rw-r--r--externals/grill/py/build/gnumake-win-cygwin.inc8
2 files changed, 12 insertions, 1 deletions
diff --git a/externals/grill/py/build/config-win.def b/externals/grill/py/build/config-win.def
index 31cfe0a9..a4f0569e 100644
--- a/externals/grill/py/build/config-win.def
+++ b/externals/grill/py/build/config-win.def
@@ -1,5 +1,8 @@
+# which major python version?
+PYTHONVER=24
+
# where is the Python installation?
-PYTHONPATH=c:\programme\prog\python24
+PYTHONPATH=c:/programme/prog/python$(PYTHONVER)
# uncomment if numarray support should be compiled in
# for info about numarray see http://numeric.scipy.org
diff --git a/externals/grill/py/build/gnumake-win-cygwin.inc b/externals/grill/py/build/gnumake-win-cygwin.inc
new file mode 100644
index 00000000..39f590bf
--- /dev/null
+++ b/externals/grill/py/build/gnumake-win-cygwin.inc
@@ -0,0 +1,8 @@
+DEFS += -DPY_EXPORTS
+INCPATH += -I$(PYTHONPATH)/include
+LIBPATH += -L$(PYTHONPATH)/libs
+LIBS += -lpython$(PYTHONVER)
+
+ifdef PY_NUMARRAY
+DEFS += -DPY_NUMARRAY
+endif