Makefile 633 Bytes
#!smake -k
#
# Makefile for error test application 
#
#

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

APP =		onetri

OPTIMIZER =	-g

TARGETS =	rom

HFILES =	error.h

CODEFILES   =	error.c

CODEOBJECTS =	$(CODEFILES:.c=.o)

CODESEGMENT =	code.o

OBJECTS =	$(CODESEGMENT)

LCINCS =	-I.
LCOPTS =	-fullwarn -wlint,-f -woff 813,819,826,827,852 -non_shared -G 0
LDFLAGS =	$(MKDEPOPT) -nostdlib -L$(ROOT)/usr/lib -lultra_d

LDIRT  =	$(APP)

default:	$(TARGETS)

include $(COMMONRULES)

install:	default

$(CODESEGMENT):	error.o
		$(LD) -o $(CODESEGMENT) -r error.o $(LDFLAGS)

rom $(APP):	spec $(OBJECTS) $(MAKEROM)
		$(MAKEROM) -r rom spec