# RCSid: $Header: /rcs/vcom5.0/sbeux/x25utils/pad/Makefile,v 1.0 92/08/20 11:30:25 root Exp $

#-----------------------------------------------------------------------------
# Makefile -
#
# Copyrighted as an unpublished work.
# (c) Copyright 1992 SBE, Inc. and by other vendors under license agreements.
# All Rights Reserved.
#-----------------------------------------------------------------------------
# RCS info:
# RCS revision: $Revision: 1.0 $
# Last changed on $Date: 92/08/20 11:30:25 $
# Changed by $Author: root $
#-----------------------------------------------------------------------------
# $Log:	Makefile,v $
# Revision 1.0  92/08/20  11:30:25  root
# Initial revision
# 
#-----------------------------------------------------------------------------
#

LIBNAME  = ../../x25utils/lib/libsx25.a
DEST     = $(ROOT)/usr/bin
LOCALINC = ../../include
INCLUDE  = -I. -I$(LOCALINC)
CFLAGS   = -O $(INCLUDE)
LDFLAGS  = -s

TARGET = sbepad

OBJ = padfunc.o xpad.o xpadcmd.o xpadmisc.o xxxfunc.o sbeRelease.o

# ----------------------------------------------------------------------------

all: sbepad

sbepad: $(OBJ) $(LIBNAME)
	$(CC) $(LDFLAGS) $(OBJ) $(LIBNAME) -ltermcap -o $@

FRC $(FRC):

# ----------------------------------------------------------------------------

install: all
	cp sbepad $(DEST)/$(TARGET)

clean:
	rm -f *.o

clobber:
	rm -f sbepad *.o

