Makefile 821 Bytes
#
# Makefile for RSP simulator
#

include $(ROOT)/usr/include/make/commondefs

CVERSION = -xansi
OPTIMIZER = -g

# local options
LCOPTS = -mips2
# local defs
LCDEFS = -I/a/rww/mdev2root/usr/include -I/a/rww/mdev2root/usr/include/PR
# local includes
LCINCS = 

CFILES = randinst.c randdata.c nper.c 

LDLIBS = 

TARGETS = randinst randdata nper

default:
	@$(MAKE) ${TARGETS}

install: ${TARGETS}
	$(INSTALL) -m 555 -F /usr/sbin $(TARGETS)

clean:
	/bin/rm -rf ${OBJECTS}

clobber: clean
	/bin/rm -rf ${TARGETS} ${MKDEPFILE}

#
nper:	nper.o
	$(CC)  $(LCDEFS) -o $@ nper.o

#
randdata:	randdata.o
	$(CC)  $(LCDEFS) -o $@ randdata.o

#
randinst:	randinst.o disasm.o
	$(CC)  $(LCDEFS) -o $@ randinst.o disasm.o

disasm.o:	../disasm.c
	$(CC) $(LCDEFS)  -c  ../disasm.c

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