fixed Box::Extend(Vec3f&)
[MicroTrace.git] / Makefile
index a9276b7..ac86170 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
 all: MicroTrace
 
 CC = g++ 
-CFLAGS = -O0 -g -Wall 
+CFLAGS = -O3 -Wall -fopenmp
 
 
 OBJ = MicroTrace.o\
@@ -19,8 +19,15 @@ OBJ = MicroTrace.o\
       FlatShader.o\
       EyeLightShader.o\
       ReflectiveEyeLightShader.o\
+      PhongShader.o\
+      Light.o\
+      PointLight.o\
+      SpotLight.o\
       Scene.o\
-      Primitive.o
+      Primitive.o\
+      QuadAreaLight.o\
+      Box.o\
+      kDTree.o
 
 %.o: %.cxx *.hxx
        $(CC) $(CFLAGS) -c $< -o $@
@@ -31,6 +38,6 @@ OBJ = MicroTrace.o\
 
 
 MicroTrace: $(OBJ)
-
+       g++  -fopenmp $(OBJ) -o MicroTrace
 clean: 
        rm *~ *.o *.a MicroTrace
This page took 0.019802 seconds and 4 git commands to generate.