#
# make the midi code
#
AS = /Mx /DMODELSIZE=1	### make file ASSEMBLER permenant switches
CS = /Zi /c		### make file COMPILER permenant switches
LS = /Ma		### make file LINKER permentant switches
AO = /Zi		### make file ASSEMBLER command line switches
CO = /Zi		### make file COMPILER command line switches
LO = /Co		### make file LINKER command line switches

midia.obj: midia.asm
    masm $(AS) $(AO) /DBUILD_NONE=1 midia;

midi.obj: midi.c
    cl $(CS) $(CO) midi.c

midi.exe: midi.obj midia.obj
    link $(LS) $(LO) midi+midia,,,mvhslib;

