.SUFFIXES: .cxx .a all: MicroTrace CC = g++ CFLAGS = -O3 -Wall -g -O0 OBJ = MicroTrace.o\ Vec3f.o\ Camera.o\ PerspectiveCamera.o\ Image.o\ Ray.o %.o: %.cxx *.hxx $(CC) $(CFLAGS) -c $< -o $@ MicroTrace: $(OBJ) clean: rm *.o MicroTrace