Makefile 722 Bytes
#
# Makefile for RSP simulator
#

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

CVERSION = -xansi
OPTIMIZER = -g

# local options
LCOPTS = -mips2
# local defs
LCDEFS = 
# 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)  -o $@ nper.o

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

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

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

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