X-Git-Url: https://git.rohieb.name/MicroTrace.git/blobdiff_plain/0e3446ceb6fd6db0cb292671f37b46daaa2aed5b..7dc19699bd3ae76b3802dfb43854fd88fea3ffc3:/Makefile diff --git a/Makefile b/Makefile index 982c074..ac86170 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ all: MicroTrace CC = g++ -CFLAGS = -O3 -Wall +CFLAGS = -O3 -Wall -fopenmp OBJ = MicroTrace.o\ @@ -19,8 +19,15 @@ OBJ = MicroTrace.o\ FlatShader.o\ EyeLightShader.o\ ReflectiveEyeLightShader.o\ + PhongShader.o\ + Light.o\ + PointLight.o\ + SpotLight.o\ Scene.o\ - Primitive.o + Primitive.o\ + QuadAreaLight.o\ + Box.o\ + kDTree.o %.o: %.cxx *.hxx $(CC) $(CFLAGS) -c $< -o $@ @@ -31,6 +38,6 @@ OBJ = MicroTrace.o\ MicroTrace: $(OBJ) - + g++ -fopenmp $(OBJ) -o MicroTrace clean: rm *~ *.o *.a MicroTrace