#
# This is the makefile for the ftpbin 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 ftp executable, sources, and objects

FTP		= ftp.exe
FTP_SRC	= ftp.c ftppi.c
FTP_OBJ	= ftp.obj ftppi.obj

all: $(FTP)

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

$(FTP): $(FTP_OBJ) $(NCSATCPLIB)
	$(CC) -ml -l-c -e$(FTP) $(FTP_OBJ) $(NCSATCPLIB)
	copy $(FTP) $(BINDIR)\$(FTP)

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

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