
# Copyright (c) 1992 Regents of the University of Michigan.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of Michigan at Ann Arbor. The name of the University
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
#
# Internet Rover Problem Manager
#
DEFINES=	-D_BSD
INCLUDES= 	-I../../include
CFLAGS=		${INCLUDES} ${DEFINES} ${ACFLAGS} #-DSTANDALONE

SRCS=	fileio.c
OBJS=	fileio.o
HDRS=	LinkWidth.h

default:
	(cd ../.. ; make LinkWidthfileio )

all:	LinkWidthfileio.a

LinkWidthfileio.a: ${OBJS} ${LIBC}
	  	ar cru LinkWidthfileio.a ${OBJS}
		cp LinkWidthfileio.a ${LIBDIR}/libLinkWidthfileio.a
		ranlib ${LIBDIR}/libLinkWidthfileio.a

.c.o:
	${CC} ${CFLAGS} -c $*.c

install:
	cp LinkWidthfileio.a ${LIBDIR}/libLinkWidthfileio.a
	ranlib ${LIBDIR}/libLinkWidthfileio.a

depend: ${SRCS}
	mkdep ${CFLAGS} ${SRCS}

lint: ${SRCS}
	lint -Dlint ${INCLUDES} ${DEFINES} ${SRCS}

tags:
	ctags -t ${SRCS} ${HDRS}

clean:
	rm -f *.o core *.a 

# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.



# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
