code from assignment 1
[MicroTrace.git] / Makefile
1 .SUFFIXES: .cxx .a
2
3 all: MicroTrace
4
5 CC = g++
6 CFLAGS = -O3 -Wall
7
8 OBJ = MicroTrace.o\
9 Vec3f.o\
10 Camera.o\
11 PerspectiveCamera.o\
12 Image.o\
13 Ray.o
14
15 %.o: %.cxx *.hxx
16 $(CC) $(CFLAGS) -c $< -o $@
17
18 %.a:
19 ar r $@ $<
20
21
22
23 MicroTrace: $(OBJ)
24
25 clean:
26 rm *.o *.a MicroTrace
This page took 0.0518 seconds and 5 git commands to generate.