Makefile 762 Bytes
#!smake -k
# --------------------------------------------------------------------
#        Copyright (C) 1997 Nintendo. (Originated by SGI)
#        
#        $RCSfile: Makefile,v $
#        $Revision: 1.1.1.1 $
#        $Date: 2002/05/02 03:27:13 $
# --------------------------------------------------------------------
#
# Makefile for Go/No-go cpu/user
#

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

include ../../gngdefs
include ../locdefs


ASFILES=	setcause.s syscalls.s
 
CFILES=		user.c

HFILES=		nos.h syscall.h

TARGET =	userseg.o

default:	$(TARGET)

include $(COMMONRULES)

install:	default
		$(INSTALL) -m 444 -F /usr/src/PR/demos/gng/cpu/user \
			$(CFILES) $(ASFILES) $(HFILES) Makefile

userseg.o:	$(OBJECTS)
		$(LD) -o $@ -r $(OBJECTS) $(LDFLAGS)