# MAKE FILE FOR db_while.EXE

.SUFFIXES:                      # clear .SUFFIXES
.SUFFIXES: .exe .obj .prg .c    # establish sequence of inference rules

OBJS       = db_while.obj locks.obj errorsys.obj
LIBS       = getit clipper udf extend proclip tr overcl87
NETLIBOBJS = check87.obj tmo87.obj encryp87.obj
EXE        = db_while
MAP        = NUL
CLOPT      = -m

# If macro "nl2" is defined, then Netlib NL287 instead of NL187.lib
!if defined(nl2)
        LIBS += nl287 nlext87
!else
        LIBS += nl187 nlext87
!endif

# If macro "dbug" is defined, then include necessary stuff for debugger
!if defined(dbug)
        OBJS  += c:\dbug\dbug.obj
        LIBS  += dclip
        CLOPT = -m
!endif

.prg.obj:
        clipper $< $(CLOPT)

db_while.exe:   $(OBJS) $(EXE).mak
        -link /se:512 /noe $(OBJS) $(NETLIBOBJS), $(EXE), $(MAP), $(LIBS);
