equal
deleted
inserted
replaced
1 DEFS=-DPTHREADS |
1 DEFS=-DPTHREADS |
2 |
2 |
3 CCFLAGS=-Wall -Wno-write-strings -fno-strict-aliasing -I$(ROOT)/include |
3 CCFLAGS=-g -Wall -Wno-write-strings -fno-strict-aliasing -I$(ROOT)/include |
4 LDFLAGS= |
4 LDFLAGS= |
5 |
5 |
6 PY_CCFLAGS=$(shell python-config --includes) |
6 PY_CCFLAGS=$(shell python-config --includes) |
7 PY_LDFLAGS=$(shell python-config --libs) |
7 PY_LDFLAGS=$(shell python-config --libs) |
8 |
8 |
19 LDFLAGS+=-pthread |
19 LDFLAGS+=-pthread |
20 MODULENAME=raytracermodule.so |
20 MODULENAME=raytracermodule.so |
21 endif |
21 endif |
22 |
22 |
23 # optimizations |
23 # optimizations |
24 CCFLAGS+=-g -O0 |
24 CCFLAGS+=-O3 -pipe -ffast-math -msse3 |
25 #CCFLAGS+=-O3 -pipe -fomit-frame-pointer -ffast-math -msse3 |
|