CC=gcc

CFLAGS= -O2 -g 


radiosity: datastruct.o render.o wireframe.o clip.o misc.o objIO.o vector-matrix.o hemicube.o mesh.o engine.o CView.o NeXtInterface.o 
	$(CC) -o radiosity $(CFLAGS) datastruct.o clip.o misc.o objIO.o render.o hemicube.o wireframe.o mesh.o vector-matrix.o engine.o NeXtInterface.o CView.o -lNeXT_s -lsys_s -lm

engine.o: datastruct.o mesh.o render.o clip.o misc.o objIO.o vector-matrix.o 

