#	START NEW ARIX SCCS HEADER
#
#	@(#) Makefile: version 25.1 created on 11/27/91 at 15:01:56
#
#	Copyright (c) 1990 by Arix Corporation
#	All Rights Reserved
#
#	@(#)Makefile	25.1	11/27/91 Copyright (c) 1990 by Arix Corporation
#
#	END NEW ARIX SCCS HEADER
#
#
#	Makefile for 68040 Floating Point Software Package
#
#	This Makefile modified by Arix

#
# IROOT has to be defined in the 'make' command line
#
include $(IROOT)/macdefs

#
# use the 'm4' pre-processor 
#
ASMOPTS		= -m

OBJS =	bindec.o binstr.o decbin.o do_func.o gen_except.o get_op.o \
	kernel_ex.o res_func.o round.o sacos.o sasin.o satan.o satanh.o \
	scosh.o setox.o sgetem.o sint.o unix.o slog2.o slogn.o \
	smovecr.o srem_mod.o scale.o \
	ssin.o ssinh.o stan.o stanh.o sto_res.o stwotox.o tbldo.o util.o \
	x_bsun.o x_fline.o x_operr.o x_ovfl.o x_snan.o x_store.o \
	x_unfl.o x_unimp.o x_unsupp.o bugfix.o

TARGET	= fpu_sim.o

#	Build the target object. 
$(TARGET):	$(OBJS)
	$(LD) -r -o $(TARGET) $(OBJS)

#	Just about every file needs fpsp.h so:
$(OBJS):	fpsp.h

.SUFFIXES:	.o .s .h

.s.o:
	$(AS) $(ASMOPTS) $*.s
	
clean:
	rm -f $(OBJS)

clobber: clean
	rm -f fpu_sim.o
