##########################
## User settable macros ##
##########################

Compiler = wcc386

Include=.;$(%WATCOM)\h;

Compiler_Options = -os -d2
#Compiler_Options = /bt=dos4g /d3 /5s /e10 /mf /w1 /fp5 /xs
Linker_options   = system pmodew option verbose

Exe_file     = example.exe

Object_files = example.obj &
               tinyrxm.obj




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

$(Exe_file): $(Object_files)
             *wlink $(Linker_options) name $(Exe_file) &
              file {$(Object_files)}

.asm.obj:
        tasm $< /ml /m5 /zi

.c.obj:
        *$(Compiler) $(Compiler_Options) -I$(Include) $<
