###############################################################################
# $Header:$
###############################################################################
#
# Makefile
#
# Bradford W. Mott
# July 3,1994
#
###############################################################################
# $Log:$
###############################################################################

## Library to build
LIBRARY = libUI.a

INCLUDE = $(INCLUDES) -I../Tools -I../Commands -I../Sound

## List of object files that need to be made
OBJS  = Text.o PushButton.o DrawingArea.o Frame.o TopLevel.o \
	ContainerWidget.o BasicWidget.o UIApplication.o misc.o Sprite.o 

all: $(LIBRARY)

install:

$(LIBRARY): $(OBJS)
	$(AR) $(AR_CREATE_FLAGS) $(LIBRARY) $(OBJS)
	$(RANLIB) $(LIBRARY)

.SUFFIXES: .cxx .a

.cxx.o:
	$(CC) $(INCLUDE) -c $(CPPFLAGS) $*.cxx

clean:
	rm -f *.o $(LIBRARY)


