######################
# K!Video Exemple02  #
#                    #
# ArrakiS / K!Prod   #
#                    #
#      09.06.98      #
######################

# Linker_options   = debug all  # option caseexact

CDIRSRC         = .\
ASMDIRSRC       = .\
INCLUDEDIR      = ..\
LIBDIR          = ..\
OBJDIR          = OBJ\
System          = pmodew
Exe_file        = test02.exe


compile_switch  = -oneatx -we -zdp -s -3s -zq -i=$(INCLUDEDIR)
compile_command = WCC386 $(compile_switch) $[*
asm_switch      = /m9 /mx /os /t
asm_command     = tasm $(asm_switch) $[*


Object_files = test02.obj $(LIBDIR)K!VIDEO.LIB

$(Exe_file) : $(Object_files)
             *@wlink system $(System) $(Linker_Options) name $(Exe_file) &
	        	file {$(Object_files)}
#             *@copy $(Exe_file) ..
.c.obj :
        *$(compile_command) $<

.asm.obj :
        *$(asm_command) $<

_Funcs.obj : $(ASMDIRSRC)_Funcs.asm
             $(asm_command)

test02.obj : $(CDIRSRC)test02.c
             $(compile_command)

