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

PING		= ping.exe
PING_SRC	= ping.c
PING_OBJ	= ping.obj

all: $(PING)

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

$(PING): $(PING_OBJ) $(NCSATCPLIB)
	$(CC) -ml -l-c -e$(PING) $(PING_OBJ) $(NCSATCPLIB)
	copy $(PING) $(BINDIR)\$(PING)

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

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