# Copyright (c) 1991 Microsoft Corporation. All rights reserved.

base=masmwin
CFLAGS= -c -W3 -G2 -G2 -AS -Gsw -Od -Zi
AFLAGS= -c -VM
LFLAGS= /co /nod /noe


ALL: $(base).exe

$(base).res: $(base).rc
    rc -r $(base).rc


#$(base).obj: $(base).c makefile
#    cl $(CFLAGS) $(base).c

$(base).obj: $(base).asm makefile
    ml $(AFLAGS) $(base).asm


$(base).exe :: $(base).obj $(base).def $(base).res
    link $(LFLAGS) $(base).obj ,,,libw SNOCRT, $(base).def
    rc $(base).res $(base).exe

