##############################################################################
# STYLE1.C, STYLE2.C, STYLE3.C                                               #
#                                                                            #
# BUILD RULES FOR MACH64 SAMPLE CODE                                         #
#                                                                            #
# Copyright (c) 1994-1995 ATI Technologies Inc. All rights reserved          #
##############################################################################

MODEL = L
C_DEBUG = /Zi /Od /Fo$*.obj
ASM_DEBUG = /Zi
L_DEBUG = /CO

UTIL = ..\util

all: style1.exe style2.exe style3.exe

style1.exe: obj\style1.obj $(UTIL)\sdkutil.lib
    link $(L_DEBUG) /NOI /MA /ST:4096 @<<
obj\style1
style1.exe
style1.map
..\util\sdkutil.lib;
<<

style2.exe: obj\style2.obj $(UTIL)\sdkutil.lib
    link $(L_DEBUG) /NOI /MA /ST:4096 @<<
obj\style2
style2.exe
style2.map
..\util\sdkutil.lib;
<<

style3.exe: obj\style3.obj $(UTIL)\sdkutil.lib
    link $(L_DEBUG) /NOI /MA /ST:4096 @<<
obj\style3
style3.exe
style3.map
..\util\sdkutil.lib;
<<

obj\style1.obj: style1.c $(UTIL)\atim64.h $(UTIL)\sample.h
    cl /c /W3 /A$(MODEL) $(C_DEBUG) style1.c

obj\style2.obj: style2.c $(UTIL)\atim64.h $(UTIL)\sample.h
    cl /c /W3 /A$(MODEL) $(C_DEBUG) style2.c

obj\style3.obj: style3.c $(UTIL)\atim64.h $(UTIL)\sample.h
    cl /c /W3 /A$(MODEL) $(C_DEBUG) style3.c

