equal
deleted
inserted
replaced
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 |
7 MODULENAME=raytracer.pyd |
7 MODULENAME=raytracer.pyd |
8 else |
8 else |
9 CCFLAGS+=-fPIC -I/usr/include/python2.4 |
9 CCFLAGS+=-fPIC `python-config --includes` |
10 MODULENAME=raytracermodule.so |
10 MODULENAME=raytracermodule.so |
11 endif |
11 endif |
12 |
12 |
13 # optimisations |
13 # optimisations |
14 #CCFLAGS+=-pipe -fomit-frame-pointer -ffast-math -msse3 |
14 #CCFLAGS+=-pipe -fomit-frame-pointer -ffast-math -msse3 |