##############################################################################
# Build rules for Rage 128 Chapter 6 3D sample code                          #
#                                                                            #
# Copyright (c) 1999 ATI Technologies Inc.  All rights reserved.             #
##############################################################################

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

!ifdef DEBUG
%R128SDKDEBUG = 1
!endif

all: util ablend atest line3d multitex pline3d point rendst stencil tabfog triangle ringfan ringlst ringstp idxfani idxlsti idxstpi idxfanl idxlstl idxstpl tritex tritxfn tritxlst tritxstp vertfog zbuf zbuftex

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

util: .SYMBOLIC
    cd util
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

ablend: util
    cd ablend
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

atest: util
    cd atest
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

line3d: util
    cd line3d
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

multitex: util
    cd multitex
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

pline3d: util
    cd pline3d
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

point: util
    cd point
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

rendst: util
    cd rendst
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

stencil: util
    cd stencil
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

tabfog: util
    cd tabfog
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

triangle: util
    cd triangle
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

ringfan: util
    cd ringfan
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

ringlst: util
    cd ringlst
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

ringstp: util
    cd ringstp
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

idxfani: util
    cd idxfani
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

idxfanl: util
    cd idxfanl
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

idxlsti: util
    cd idxlsti
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

idxlstl: util
    cd idxlstl
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

idxstpi: util
    cd idxstpi
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

idxstpl: util
    cd idxstpl
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

tritex: util
    cd tritex
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

tritxfn: util
    cd tritxfn
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

tritxlst: util
    cd tritxlst
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

tritxstp: util
    cd tritxstp
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

vertfog: util
    cd vertfog
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

zbuf: util
    cd zbuf
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

zbuftex: util
    cd zbuftex
    wmake $(__MAKEOPTS__) $(%R128SDKCLEAN)
    cd ..

