Compiler                = wcc386

# options for other code:
Compiler_Options        = /d2 -d_cplusplus
Linker_options          = debug all

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

Exe_file                = unrar.exe

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

all        : unrar.exe

unrar.exe : unrar.obj error.obj

             *wlink system $(System) $(Linker_Options) name $(Exe_file) &
             file {$<}

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

error.obj: ..\error\error.c
        $(Compiler) $(Compiler_Options) $<
.c.obj:
        $(Compiler) $(Compiler_Options) $<

