--- a/config.mk Mon Dec 17 22:03:50 2007 +0100
+++ b/config.mk Tue Dec 18 12:36:01 2007 +0100
@@ -1,5 +1,3 @@
-DEFS=-DPTHREADS
-
CCFLAGS=-g -Wall -Wno-write-strings -fno-strict-aliasing -I$(ROOT)/include
LDFLAGS=
@@ -10,12 +8,13 @@
SDL_LDFLAGS=$(shell sdl-config --libs)
ifeq ($(OS), Windows_NT)
+ CCFLAGS+=-DPTHREADS
LDFLAGS+=-lpthreadGC2
- PY_CCFLAGS=-I"C:/Program Files/Python25/include"
+ PY_CCFLAGS=-I"C:\Program Files\Python25\include"
PY_LDFLAGS=-L"C:\Program Files\Python25\libs" -lpython25
MODULENAME=raytracer.pyd
else
- CCFLAGS+=-pthread -fPIC
+ CCFLAGS+=-pthread -DPTHREADS -fPIC
LDFLAGS+=-pthread
MODULENAME=raytracermodule.so
endif