.AUTODEPEND

# Compile options: compile only, small mem model, optimization off
CFLAGS = -c -ms -O-
# Link options: small mem model, report duplicate symbols
# (Add -M for map)
LFLAGS = -ms -ld

# Definitions for debugging with Turbo Debugger:
CFLAGS = $(CFLAGS) -v
LFLAGS = $(LFLAGS) -v

# Rules for file name extension conversion:
.cpp.obj: 
        bcc $(CFLAGS) {$*.cpp }

# Create assembly language source file:
.cpp.src:
        bcc $(CFLAGS) -S $*.cpp

.c.obj: 
        bcc $(CFLAGS) {$*.c }

# Create assembly language source file:
.c.src:
        bcc $(CFLAGS) -S $*.c

.asm.obj:
        bcc $(CFLAGS) {$*.c }

all:    tdexmpl.exe

tdexmpl.exe:    tdexmpl.obj
        bcc $(LFLAGS) tdexmpl.obj
