# $Id: Makefile,v 1.3 1997-04-11 15:21:02-07 lg Exp $
#
# $RCSfile: Makefile,v $
# $Revision: 1.3 $
# $Date: 1997-04-11 15:21:02-07 $
#
# 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.3  1997-04-11 15:21:02-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
#
#


include ../Make-config


.SUFFIXES: .so .sl

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

SLC= ../bin/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=.so)


all: $(SHADERS) $(COMPILED_SHADERS)


clean:
	@- rm *~

realclean: clean
	@- rm *.so

