#
# Makefile for MCITEST sample application.
#

goal: mcitest.exe

.c.obj:
    cl -c -W3 -AS -G2sw -Zip $*.c

.asm.obj:
    masm -W2 -MX -Zi -D?QUIET $*.asm;

mcitest.obj: mcitest.c mcitest.h edit.h dlgopen.h

edit.obj: edit.c edit.h gmem.h

dlgopen.obj: dlgopen.c dlgopen.h

mcitest.res: mcitest.rc mcimain.dlg dlgopen.dlg dlgopen.h
    rc -r mcitest.rc

mcitest.exe: mcitest.obj edit.obj dlgopen.obj mcitest.def mcitest.res
    link /NOE/MAP/NOD/CO mcitest edit dlgopen,,,libw slibcew mmsystem, mcitest.def
    rc mcitest.res
    cvpack -p mcitest.exe

clean:
    del *.exe
    del *.res
    del *.obj
    del *.map
