CFLAGS = -AS -G2sw -Odw -W2 -Zp -FPi -c

wtest.obj: wtest.c
   cl $(CFLAGS) -DLINKABLE -DCDIST -DDDIST wtest.c

swidget.obj:  widget.c widget.h
    cl $(CFLAGS) -DSTRICT -DLINKABLE -DCDIST -DDDIST -Foswidget.obj widget.c

wtest.res: wtest.rc card.bmp cardm.bmp bfly.bmp bflym.bmp hand.cur pattern.bmp
    rc -r wtest.rc

wtest.exe: wtest.obj wtest.def wtest.res swidget.obj
   link wtest+swidget, wtest.exe, NUL, /nod/noe slibcew+libw, wtest.def
   rc -k wtest.exe
