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

base=tasmwin
AFLAGS= -c -zi  /i\TASM\INCLUDE
LFLAGS= /c /Tw /v


ALL: $(base).exe

#$(base).res: $(base).rc
#    brc -r -i\tasm\include $(base).rc

$(base).res: $(base).rc
    brc -r -i\masm32\include $(base).rc

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

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


$(base).exe :: $(base).obj $(base).def $(base).res
    tlink $(LFLAGS) $(base).obj ,$(base),,\tasm\lib\import.lib, $(base).def
    brc $(base).res $(base).exe