Makefile
820 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
#!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 pi controller (AD16 bus interface) test
#
include $(ROOT)/usr/include/make/PRdefs
include ../gngdefs
CODEFILES = pi.c
CODEOBJECTS = $(CODEFILES:.c=.o)
TARGETS = $(CODEOBJECTS) NumberSequence pidata
LDIRT = pi.o
#default : $(_FORCE) $(TARGETS)
default : $(TARGETS)
include $(COMMONRULES)
pidata: pidata.c
$(CC) -o pidata pidata.c
NumberSequence: pidata
./pidata
install: default
$(INSTALL) -m 444 -F /usr/src/PR/demos/gng/pi \
$(CODEFILES) pidata.c Makefile