##
# Makefile: Directions for building the missing-functions library.
#
# Portions of this software are Copyright 1996 by Craig Metz, All Rights
# Reserved. The Inner Net Copyright Notice and License Agreement applies to
# these portions of the software.
#
# Portions of this software are Copyright 1995 by Randall Atkinson and Dan
# McDonald, All Rights Reserved. All Rights under this copyright are assigned
# to the U.S. Naval Research Laboratory (NRL). The NRL Copyright Notice and   
# License Agreement applies to this software.   
#
#	History:
#
#       Modified by cmetz for OPIE 2.2. Use MISSING variable instead of
#            building everything and doing nothing on ifdef.
#       Created at NRL for OPIE 2.2.

LIBOBJS=bogus.o $(MISSING)

CFLAGS=$(CFL) -I..

all: libmissing.a

config: 
	@if test -z "$(CFL)"; then echo "Did you read the README file?"; exit 1; fi

libmissing.a: config $(LIBOBJS)
	ar r libmissing.a $(LIBOBJS)
	$(RANLIB) libmissing.a

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

realclean: clean
	-rm -f *~ core* "\#*\#" 
