config.mk
branchpyrit
changeset 41 c1080cb5bd6d
parent 37 5f954c0d34fc
child 49 558fde7da82a
--- 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