Makefile
branchpyrit
changeset 15 a0a3e334744f
parent 14 fc18ac4833f2
child 16 20bceb605f48
equal deleted inserted replaced
14:fc18ac4833f2 15:a0a3e334744f
     1 CCFLAGS=-I./src -Wall -Wno-write-strings -O3 -fno-strict-aliasing -DPTHREADS
     1 CCFLAGS=-I./src -Wall -Wno-write-strings -g -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 -lpthreadGC2
     6   LDFLAGS+=-L"C:\Program Files\Python25\libs" -lpython25 -lpthreadGC2
    44 # C++ raytracer
    44 # C++ raytracer
    45 vector.o: src/vector.cc src/vector.h
    45 vector.o: src/vector.cc src/vector.h
    46 matrix.o: src/matrix.cc src/matrix.h src/vector.h
    46 matrix.o: src/matrix.cc src/matrix.h src/vector.h
    47 noise.o: src/noise.cc src/noise.h
    47 noise.o: src/noise.cc src/noise.h
    48 scene.o: src/scene.cc src/scene.h src/vector.h src/noise.h src/common.h
    48 scene.o: src/scene.cc src/scene.h src/vector.h src/noise.h src/common.h
    49 kdtree.o: src/kdtree.cc src/kdtree.h
    49 kdtree.o: src/kdtree.cc src/kdtree.h src/scene.h
    50 raytracer.o: src/raytracer.cc src/raytracer.h src/scene.h src/vector.h src/noise.h
    50 raytracer.o: src/raytracer.cc src/raytracer.h src/scene.h src/vector.h src/noise.h
    51 
    51 
    52 # python module
    52 # python module
    53 raytracermodule.o: src/raytracermodule.cc src/raytracer.h src/scene.h src/vector.h
    53 raytracermodule.o: src/raytracermodule.cc src/raytracer.h src/scene.h src/vector.h
    54 $(MODULENAME): raytracermodule.o raytracer.o scene.o noise.o kdtree.o
    54 $(MODULENAME): raytracermodule.o raytracer.o scene.o noise.o kdtree.o