aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-07-19 23:09:37 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-07-19 23:09:37 +0000
commit9ae1dd455b7c2eb695aff6663d32608c32ceea92 (patch)
treee9ff9846dc0b3a792ac9180038b5e6b50c64e7b2 /externals/grill/py
parent2a58dfbcf6eb4fd72d19f46067d841a4aab873bf (diff)
added cygwin support
svn path=/trunk/; revision=3363
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