CC = g++
CFLAGS = -O3 -Wall
+
OBJ = MicroTrace.o\
Vec3f.o\
Camera.o\
PerspectiveCamera.o\
+ Ray.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
%.o: %.cxx *.hxx
$(CC) $(CFLAGS) -c $< -o $@
MicroTrace: $(OBJ)
clean:
- rm *.o *.a MicroTrace
+ rm *~ *.o *.a MicroTrace