X-Git-Url: https://git.rohieb.name/MicroTrace.git/blobdiff_plain/9e556ed5343384fcf9258fe0f37af3c1fb9b9b3d..cd2378b70b3448df83a7e4a5817fe373dc31dd60:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 2223440..982c074 100644 --- a/Makefile +++ b/Makefile @@ -5,12 +5,22 @@ 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\ + Scene.o\ + Primitive.o %.o: %.cxx *.hxx $(CC) $(CFLAGS) -c $< -o $@ @@ -23,4 +33,4 @@ OBJ = MicroTrace.o\ MicroTrace: $(OBJ) clean: - rm *.o *.a MicroTrace + rm *~ *.o *.a MicroTrace