##############################################################################
# Build rules for Radeon Chapter 7 sample code                               #
#                                                                            #
# Copyright (c) 1999 ATI Technologies Inc.  All rights reserved.             #
##############################################################################

##################
# Makefile rules #
##################

SubDirs =	alphblnd &
		alphtest &
#		bumpmap &
#		cubemap &
		dot3 &
		drawprim &
		drawvb &
		drawvbix &
		fog &
		multex &
		rasterop &
		renderst &
		specular &
		sphrmap &
		stencil &
		sbox &
		stereo &
		stipple &
		tclclip &
		tcldemo &
		tclfog &
		tcllght &
		tclmtrl &
		tcltgen &
		tclvblnd &
		texcomp &
		texfiltr &
		texture &
		yuv2rgb &
		voltextr &
		zbuf

.SILENT

all: $(SubDirs)

clean: .SYMBOLIC
    set RADEONDDKCLEAN = clean
    wmake $(__MAKEOPTS__)

$(SubDirs): .SYMBOLIC
	echo.
	echo                    Making $* sample...
	echo.
    cd $*
    wmake $(__MAKEOPTS__) $(%RADEONDDKCLEAN)
	cd ..

