#
# $Id: Makefile,v 1.4 1997/02/18 23:17:25 masaki Exp $
#

include ../../Make.include

GOAL   = libstruct.a
OBJS   = New.o stack.o array.o linked_list.o hash.o
CFLAGS += -D_LL_INTERNAL_DEBUG -DLL_DEBUG


DEBUG_OBJS=New_debug.o stack_debug.o array_debug.o list_debug.o hash_debug.o
INTERNAL_OBJS=list_int.o hash_int.o list_int_deb.o hash_int_deb.o
DEBUG_LIB=-lhash_debug -llist_debug -larray -lstack -lNew


all: $(GOAL)

$(GOAL): $(OBJS)
	$(AR) $(ARFLAGS) $@ $(OBJS)
	$(RANLIB) $@
	$(CP) $@ $(EXEC_PREFIX)/lib/

clean:
	$(RM) *.o *.a core *.core *~* $(GOAL)

depend:
	$(MAKEDEP) $(CFLAGS) $(CPPFLAGS) $(DEFINES) *.c


# DO NOT DELETE THIS LINE -- make depend depends on it.
