Makefile
branchpyrit
changeset 6 d8d596d26f25
parent 5 2d97ea5e711a
child 7 bf17f9f84c91
--- a/Makefile	Sat Nov 17 17:47:06 2007 +0100
+++ b/Makefile	Sun Nov 18 11:20:56 2007 +0100
@@ -1,12 +1,12 @@
-CCFLAGS=-Wall -Wno-write-strings -O3 -I./src -DPTHREADS -pthread -fno-strict-aliasing
+CCFLAGS=-I./src -Wall -Wno-write-strings -O3 -fno-strict-aliasing -DPTHREADS
 LDFLAGS=
 
 ifeq ($(OS), Windows_NT)
   CCFLAGS+=-I"C:/Program Files/Python25/include"
-  LDFLAGS+=-L"C:\Program Files\Python25\libs" -lpython25
+  LDFLAGS+=-L"C:\Program Files\Python25\libs" -lpython25 -lpthreadGC2
   MODULENAME=raytracer.pyd
 else
-  CCFLAGS+=-fPIC `python-config --includes`
+  CCFLAGS+=-pthread -fPIC `python-config --includes`
   MODULENAME=raytracermodule.so
 endif