## ===========================================================================
##  Copyright (c) 1998-2000 K.U.Leuven
##  
##  This software is provided AS IS, without any express or implied
##  warranty.  In no event will the authors or the K.U.Leuven be held
##  liable for any damages or loss of profit arising from the use or
##  non-fitness for a particular purpose of this software.
##  
##  See file README in the home directory for details about
##  copyrights and licensing.
## ===========================================================================
##  NAME:       make.rules
##  TYPE:       makefile
##  PROJECT:    Renderpark - Miscelaneous modules
##  CONTENT:    Common make rules for RenderPark
## ===========================================================================
##  AUTHORS:    jp      Jan Prikryl
## ===========================================================================
##  HISTORY:
##
##  29-Jan-00 16:06:53  jp      last modification
##  29-Sep-99 12:23:54  jp      created
## ===========================================================================
##
##  This file is included by automake into Makefiles in particular
##  subdirectories.

depend-recursive:
	@list='$(SUBDIRS)'; for subdir in $$list; do \
	test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) depend); \
	done
depend: depend-recursive
	@if test "x$(DEPSOURCES)" != "x" ; then \
	incl="$(INCLUDES) @MKDEP_XTRAINC@" ; \
	cmdl="-- $(CFLAGS) $(CXXFLAGS) -- $(DEFS) $$incl $(DEPSOURCES)"; \
	nmdl=`echo $$cmdl | sed 's/[ ]\+/ /g'`; \
	echo "@MAKEDEPEND@ $$nmdl"; \
	@MAKEDEPEND@ $$nmdl ; \
	fi

## ===========================================================================
## End of make.rules
## ===========================================================================
