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

LIBRARY = libcpu.a

## List of object files that need to be made
OBJS =	ALU.o RegisterSet.o DataPath.o exec.o RegisterTransfer.o \
	ControlUnit.o Hector.o


all: $(LIBRARY)

install:

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

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


.SUFFIXES: .cxx .a

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


