Makefile_eng.pc 584 Bytes
#!smake -k
#
# Makefile for onetri demo application 
#
#

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

LIB	=	libgnos.a

OPTIMIZER =	-O2

HFILES =	pakmenu.h ncode.h libnos.h

CODEFILES   =	canvas.c pakmenu.c

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

OBJECTS =	$(CODESEGMENT) $(DATAOBJECTS)

LCDEFS =	-DINDY
LCINCS =	-I.  -I../lib -I$(ROOT)/usr/include/PR
LCOPTS =	-G 0

LDIRT  =

default:	$(LIB)

include $(COMMONRULES)

install:	default
		$(INSTALL) -m 444 -F /usr/src/PR/demos/nosPak/lib \
			$(HFILES) $(CODEFILES) Makefile

$(LIB):		$(CODEOBJECTS)
		ar cur $(LIB) $(CODEOBJECTS)
		del *.o