X-Git-Url: https://git.rohieb.name/MicroTrace.git/blobdiff_plain/9e556ed5343384fcf9258fe0f37af3c1fb9b9b3d..bb70135ac47130d65f8885b9c5fa9fa970b00cae:/Makefile diff --git a/Makefile b/Makefile index 2223440..f263909 100644 --- a/Makefile +++ b/Makefile @@ -5,12 +5,26 @@ all: MicroTrace 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 $@ @@ -23,4 +37,4 @@ OBJ = MicroTrace.o\ MicroTrace: $(OBJ) clean: - rm *.o *.a MicroTrace + rm *~ *.o *.a MicroTrace