#***************************************************************************
#
# Imakefile for rayshade renderer
# Copyright 1989, Pittsburgh Supercomputing Center, Carnegie Mellon University
# 
# Permission use, copy, and modify this software and its documentation
# without fee for personal use or use within your organization is hereby
# granted, provided that the above copyright notice is preserved in all
# copies and that that copyright and this permission notice appear in
# supporting documentation.  Permission to redistribute this software to
# other organizations or individuals is not granted;  that must be
# negotiated with the PSC.  Neither the PSC nor Carnegie Mellon
# University make any representations about the suitability of this
# software for any purpose.  It is provided "as is" without express or
# implied warranty.
# 
# Makefile for the object files of the Painter renderer
#
# Installer should not have to change anything beyond this point.
#---------------------------------------------------------------------

CSOURCE= bounds.c cylinder.c grid.c intersect.c light.c list.c malloc.c \
	matrix.c memory.c object.c outputp.c poly.c ray_ren.c raymath.c \
	raytrace.c setup.c shade.c sphere.c surface.c triangle.c viewing.c \
	voxels.c box.c

HFILES= alisp.h alisp_node.h assist.h constants.h datatypes.h defaults.h \
	funcdefs.h ge_error.h matrix_ops.h p3d.h primobj.h raytrace.h ren.h \
	typedefs.h unicos_defs.h unix_defs.h rle.h

OBJ =	setup.o viewing.o object.o bounds.o voxels.o list.o surface.o \
	raymath.o matrix.o raytrace.o intersect.o memory.o\
	grid.o cylinder.o poly.o sphere.o triangle.o shade.o light.o \
	outputp.o box.o

DEPEND_FLAGS= -DWRITECGM

all:: submakes ray_ren.o $(OBJ)

outputp.o: 
	$(CC) $(CFLAGS) -DWRITECGM -c outputp.c




