# Makefile for Squares application written in Turbo Assembler
#
# George Cross, Borland C++ Developer Support, October 1998
#
#

ASM = $(MAKEDIR)\tasm32.exe
LINK = $(MAKEDIR)\ilink32.exe

PROJ = squares
OBJS = $(PROJ).obj module_entry.obj itoa.obj printstring.obj

TFLAGS = /ml /l /m2
LFLAGS = /c /L$(MAKEDIR)\..\lib /ap

$(PROJ).exe: $(OBJS)
  $(LINK) @&&|
    $(LFLAGS) +
    $(OBJS)
    $&                 #target
                       #map file
    import32           #libs
                       #module definition file
                       #resource file
|

.asm.obj:
   $(ASM) $(TFLAGS) $&
    
clean:
  del *.obj *.exe *.lst *.map *.@@@ *.t?2 *.il? *.td?
