Makefile
branchpyrit
changeset 4 c73bc405ee7a
parent 1 e74bf781067e
child 5 2d97ea5e711a
equal deleted inserted replaced
3:8f9cb0526c47 4:c73bc405ee7a
     1 CCFLAGS=-Wall -O3 -I./src
     1 CCFLAGS=-Wall -O3 -I./src -DPTHREADS -pthread -fno-strict-aliasing
     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
     8 else
     8 else
     9   CCFLAGS+=-fPIC `python-config --includes`
     9   CCFLAGS+=-fPIC `python-config --includes`
    10   MODULENAME=raytracermodule.so
    10   MODULENAME=raytracermodule.so
    11 endif
    11 endif
    12 
    12 
    13 # optimisations
    13 # optimizations
    14 #CCFLAGS+=-pipe -fomit-frame-pointer -ffast-math -msse3
    14 #CCFLAGS+=-pipe -fomit-frame-pointer -ffast-math -msse3
    15 
    15 
    16 
    16 
    17 # TARGETS
    17 # TARGETS
    18 #########
    18 #########