src/Makefile
branchpyrit
changeset 47 320d5d466864
parent 41 c1080cb5bd6d
equal deleted inserted replaced
46:6493fb65f0b1 47:320d5d466864
     4 
     4 
     5 include $(ROOT)/config.mk
     5 include $(ROOT)/config.mk
     6 
     6 
     7 vpath %.cc $(ROOT)/src
     7 vpath %.cc $(ROOT)/src
     8 vpath %.h $(ROOT)/include
     8 vpath %.h $(ROOT)/include
     9 LIBOBJS=raytracer.o scene.o noise.o container.o kdtree.o octree.o
     9 LIBOBJS=raytracer.o scene.o sampler.o noise.o container.o kdtree.o octree.o
    10 CCFLAGS+=-I$(ROOT)/include
    10 CCFLAGS+=-I$(ROOT)/include
    11 
    11 
    12 ### Targets ###
    12 ### Targets ###
    13 all: libs-float libs-double python-module
    13 all: libs-float libs-double python-module
    14 
    14 
    40 
    40 
    41 
    41 
    42 ### Dependencies ###
    42 ### Dependencies ###
    43 matrix.o: matrix.cc matrix.h vector.h common.h
    43 matrix.o: matrix.cc matrix.h vector.h common.h
    44 noise.o: noise.cc noise.h common.h
    44 noise.o: noise.cc noise.h common.h
    45 scene.o: scene.cc scene.h vector.h noise.h common.h
    45 scene.o: scene.cc scene.h sampler.h vector.h noise.h common.h
       
    46 sampler.o: sampler.cc sampler.h vector.h common.h
    46 container.o: container.cc container.h scene.h common.h
    47 container.o: container.cc container.h scene.h common.h
    47 kdtree.o: kdtree.cc kdtree.h scene.h common.h
    48 kdtree.o: kdtree.cc kdtree.h scene.h common.h
    48 octree.o: octree.cc octree.h scene.h common.h
    49 octree.o: octree.cc octree.h scene.h common.h
    49 raytracer.o: raytracer.cc raytracer.h scene.h vector.h noise.h common.h
    50 raytracer.o: raytracer.cc raytracer.h scene.h vector.h noise.h common.h
    50 
    51