projects
/
MicroTrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed Box::Extend(Vec3f&)
[MicroTrace.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
2223440
..
ac86170
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-3,14
+3,31
@@
all: MicroTrace
CC = g++
all: MicroTrace
CC = g++
-CFLAGS = -O3 -Wall
+CFLAGS = -O3 -Wall -fopenmp
+
OBJ = MicroTrace.o\
Vec3f.o\
Camera.o\
PerspectiveCamera.o\
OBJ = MicroTrace.o\
Vec3f.o\
Camera.o\
PerspectiveCamera.o\
+ Ray.o\
Image.o\
Image.o\
- Ray.o
+ InfinitePlane.o\
+ Sphere.o\
+ Triangle.o\
+ Shader.o\
+ FlatShader.o\
+ EyeLightShader.o\
+ ReflectiveEyeLightShader.o\
+ PhongShader.o\
+ Light.o\
+ PointLight.o\
+ SpotLight.o\
+ Scene.o\
+ Primitive.o\
+ QuadAreaLight.o\
+ Box.o\
+ kDTree.o
%.o: %.cxx *.hxx
$(CC) $(CFLAGS) -c $< -o $@
%.o: %.cxx *.hxx
$(CC) $(CFLAGS) -c $< -o $@
@@
-21,6
+38,6
@@
OBJ = MicroTrace.o\
MicroTrace: $(OBJ)
MicroTrace: $(OBJ)
-
+ g++ -fopenmp $(OBJ) -o MicroTrace
clean:
clean:
- rm *.o *.a MicroTrace
+ rm *
~ *
.o *.a MicroTrace
This page took
0.026452 seconds
and
4
git commands to generate.