# Makefile for Linked List application written in Turbo Assembler # # George Cross, Borland C++ Developer Support, October 1998 # # Build using, # # make builds the debug version # make -DRELEASE builds the non-debug version # # We use /ap to the linker to make the .exe open a console # # In the least, if not using any startup code, you must have something # allocated in the data segment and you must import at least one # Windows API function. # # ILink32 causes the error about missing __turboFloat and __setargv__ so # you need to add dummy versions. TLink32 doesn't have this problem. # # ILink32 doesn't handle the assembler 'org' directive properly at this # time. It should be fixed soon, but you must use Tlink32 for the time # being instead. # ASM = $(MAKEDIR)\tasm32.exe LINK = $(MAKEDIR)\tlink32.exe #LINK = $(MAKEDIR)\ilink32.exe #LINK = e:\borland\b4\bin\ilink32.exe PROJ = llist OBJS = $(PROJ).obj TFLAGS = /ml /l 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?