#
# This is the makefile for the telpass utility.
# It may be called on its own to just create and install this program,
# or it may be called from above by the master makefile.
#

# First we include the general definitions
!include "..\..\gendefs"

# The telpass executable, sources, and objects

TELPASS		= lxpasswd.exe
TELPASS_SRC	= lxpasswd.c
TELPASS_OBJ	= lxpasswd.obj

all: $(TELPASS)

clean:
	-del *.obj
	-del *.map
	-del *.exe

$(TELPASS): $(TELPASS_OBJ) $(NCSATCPLIB)
	$(CC) -ml -l-c -e$(TELPASS) $(TELPASS_OBJ) $(NCSATCPLIB)
	copy $(TELPASS) $(BINDIR)\$(TELPASS)

.c.obj:
	$(CC) $(CCOPTS) {$< }

.asm.obj:
	$(ASM) {$(AFLAGS) $<; }
