
.c.obj:
    cl -c -AS -Gsw -Oas -Zipe -W3 $*.c

all: vi.exe

vi.res: vi.rc vi.h vi.ico vi_sel.dlg vi_about.dlg
    rc -r vi.rc

vi.obj: vi.c vi.h

vi.exe: vi.obj vi.def vi.res
    link /NOD /co vi, ,NUL , slibcew libw, vi.def
    rc vi.res
