Makefile
branchpyrit
changeset 1 e74bf781067e
parent 0 3547b885df7e
child 4 c73bc405ee7a
--- a/Makefile	Thu Oct 25 16:40:22 2007 +0200
+++ b/Makefile	Mon Oct 29 15:50:17 2007 +0100
@@ -6,7 +6,7 @@
   LDFLAGS+=-L"C:\Program Files\Python25\libs" -lpython25
   MODULENAME=raytracer.pyd
 else
-  CCFLAGS+=-fPIC -I/usr/include/python2.4
+  CCFLAGS+=-fPIC `python-config --includes`
   MODULENAME=raytracermodule.so
 endif