fixed Box::Extend(Vec3f&)
[MicroTrace.git] / Makefile
1 .SUFFIXES: .cxx .a
2
3 all: MicroTrace
4
5 CC = g++
6 CFLAGS = -O3 -Wall -fopenmp
7
8
9 OBJ = MicroTrace.o\
10 Vec3f.o\
11 Camera.o\
12 PerspectiveCamera.o\
13 Ray.o\
14 Image.o\
15 InfinitePlane.o\
16 Sphere.o\
17 Triangle.o\
18 Shader.o\
19 FlatShader.o\
20 EyeLightShader.o\
21 ReflectiveEyeLightShader.o\
22 PhongShader.o\
23 Light.o\
24 PointLight.o\
25 SpotLight.o\
26 Scene.o\
27 Primitive.o\
28 QuadAreaLight.o\
29 Box.o\
30 kDTree.o
31
32 %.o: %.cxx *.hxx
33 $(CC) $(CFLAGS) -c $< -o $@
34
35 %.a:
36 ar r $@ $<
37
38
39
40 MicroTrace: $(OBJ)
41 g++ -fopenmp $(OBJ) -o MicroTrace
42 clean:
43 rm *~ *.o *.a MicroTrace
This page took 0.04756 seconds and 5 git commands to generate.