not finished yet, but better than before
[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 PhongShader.o\
23 Light.o\
24 PointLight.o\
25 SpotLight.o\
26 Scene.o\
27 Primitive.o
28
29 %.o: %.cxx *.hxx
30 $(CC) $(CFLAGS) -c $< -o $@
31
32 %.a:
33 ar r $@ $<
34
35
36
37 MicroTrace: $(OBJ)
38
39 clean:
40 rm *~ *.o *.a MicroTrace
This page took 0.058837 seconds and 5 git commands to generate.