# $Id: Makefile,v 1.7 1997/09/04 01:09:12 lg Exp $
#
# $RCSfile: Makefile,v $
# $Revision: 1.7 $
# $Date: 1997/09/04 01:09:12 $
#
# Blue Moon Rendering Tools implementation of the RenderMan standard
# Makefile for the standard shaders
#
# Blue Moon Rendering Tools, version 2.3
# (c) Copyright 1990-1995 by Larry I. Gritz.  All rights reserved.
#
#       The RenderMan (R) Interface Procedures and RIB Protocol are:
#           Copyright 1988, 1989, Pixar.  All rights reserved.
#       RenderMan (R) is a registered trademark of Pixar.
#
# $Log: Makefile,v $
# Revision 1.7  1997/09/04 01:09:12  lg
# Fixes for new scheme with different bin/lib areas for platforms
#
# Revision 1.6  1997-08-28 18:20:45-07  lg
# Overhauled Makefiles to make separate obj directories for each target
#
# Revision 1.5  1997-05-15 17:51:06-07  lg
# Gave up on "sob", decided compiled shaders should be ".slc"
#
# Revision 1.4  1997-04-24 18:03:24-07  lg
# Make slc output .sob files instead of the confusing .so
#
# Revision 1.3  1997-04-11 15:20:30-07  lg
# Remove compiled shaders on make realclean, but not make clean
#
# Revision 1.2  1996-12-01 11:47:26-08  lg
# Cleaned up makefiles
#
# Revision 1.1  1995/12/13 19:51:02  lg
# Initial revision
#
#


BMRTROOT = ..
#include ../Make-config
BINAREA=../bin

.SUFFIXES: .slc .sl

# The rule for compiling shading language programs
.sl.slc:
	$(SLC) $*.sl

SLC= $(BINAREA)/slc


SHADERS = ambientlight.sl arealight.sl constant.sl depthcue.sl \
	distantlight.sl fog.sl matte.sl metal.sl null.sl \
	paintedplastic.sl plastic.sl pointlight.sl shinymetal.sl \
	spotlight.sl

COMPILED_SHADERS = $(SHADERS:.sl=.slc)


all: $(SHADERS) $(COMPILED_SHADERS)


clean::
	@- rm *~ *.so *.slc

