Compiler                = wpp386

# options for other code:
Compiler_Options        = /d2
Compiler_Options2       = /d2 /zu
#/zu
# /oxl+ /j /s /Iinclude
Linker_options          = debug all
#option stack=60000

# Compile using dos4g,/quiet or pmodew
System                  = dos4g
#System                  = dos4gq
#System                 = pmodew

Exe_file                = zigzag.exe

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

all        : zigzag.exe

zigzag.exe : zigzag.obj zz_cikk.obj mouse.obj vesax.obj mousecl.obj
# ... virtch.obj &

             *wlink system $(System) $(Linker_Options) name zigzag.exe &
             file {$<}

clean
        del *.obj
        del *.err
        del *.bak

mousehd.obj :  mousehd.cpp
              $(Compiler) $(Compiler_Options2) $<
#zz_cikk.obj : zz_cikk.cpp
#              $(Compiler) $(Compiler_Options) $<
mousecl.obj :  mousecl.asm
               tasm /zi $<

.cpp.obj:
        $(Compiler) $(Compiler_Options) $<

