Makefile_eng.pc
584 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!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