.rc.res:
    rc -r $*.rc

.c.obj:
    cl -DSTRICT -G2sw -W3 -c -ASnw -Zp -Zid -Od $*.c

all: msdntb.dll tooltest.exe

#
# tool test
#
tooltest.obj: tooltest.c tooltest.h
    cl -DSTRICT -GA -G2s -W3 -c -AS -Zip tooltest.c

tooltest.res: tooltest.rc tooltest.dlg

tooltest.exe: tooltest.obj tooltest.def tooltest.res
    link /CO /NOD /NOE tooltest,,,libw slibcew msdntb,tooltest.def
    rc tooltest.res

#
#  TOOLBAR
#
msdntb.res: msdntb.rc

msdntb.obj: msdntb.c msdntb.h

msdntb.dll: msdntb.obj msdntb.def
    link /CO /NOD /NOE msdntb, msdntb.dll,,libw sdllcew, msdntb.def
    rc msdntb.dll
    implib msdntb.lib msdntb.def
