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

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

!ifdef DEBUG
%R128SDKDEBUG = 1
!endif

all: util detect nobios setmode modetbl

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

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

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

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

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

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

