982c074a93532968433459061c3f2ad8e2b65c55
[MicroTrace.git] / Makefile
1 .SUFFIXES: .cxx .a
2
3 all: MicroTrace
4
5 CC = g++
6 CFLAGS = -O3 -Wall
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 Scene.o\
23 Primitive.o
24
25 %.o: %.cxx *.hxx
26 $(CC) $(CFLAGS) -c $< -o $@
27
28 %.a:
29 ar r $@ $<
30
31
32
33 MicroTrace: $(OBJ)
34
35 clean:
36 rm *~ *.o *.a MicroTrace
This page took 0.041313 seconds and 3 git commands to generate.