equal
deleted
inserted
replaced
1 CCFLAGS=-Wall -Wno-write-strings -O3 -I./src -DPTHREADS -pthread -fno-strict-aliasing |
1 CCFLAGS=-I./src -Wall -Wno-write-strings -O3 -fno-strict-aliasing -DPTHREADS |
2 LDFLAGS= |
2 LDFLAGS= |
3 |
3 |
4 ifeq ($(OS), Windows_NT) |
4 ifeq ($(OS), Windows_NT) |
5 CCFLAGS+=-I"C:/Program Files/Python25/include" |
5 CCFLAGS+=-I"C:/Program Files/Python25/include" |
6 LDFLAGS+=-L"C:\Program Files\Python25\libs" -lpython25 |
6 LDFLAGS+=-L"C:\Program Files\Python25\libs" -lpython25 -lpthreadGC2 |
7 MODULENAME=raytracer.pyd |
7 MODULENAME=raytracer.pyd |
8 else |
8 else |
9 CCFLAGS+=-fPIC `python-config --includes` |
9 CCFLAGS+=-pthread -fPIC `python-config --includes` |
10 MODULENAME=raytracermodule.so |
10 MODULENAME=raytracermodule.so |
11 endif |
11 endif |
12 |
12 |
13 # optimizations |
13 # optimizations |
14 #CCFLAGS+=-pipe -fomit-frame-pointer -ffast-math -msse3 |
14 #CCFLAGS+=-pipe -fomit-frame-pointer -ffast-math -msse3 |