Makefile
1.08 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
#!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 error reporting function "gng_report"
#
include $(ROOT)/usr/include/make/PRdefs
include ../gngdefs
OPTIMIZER = -g
TEXDIR = Texture
TEXTURES = ${TEXDIR}/letters.rgb
TEXHFILES = letters_img.h
CODEFILES = font.c gng_report.c
CODEOBJECTS = $(CODEFILES:.c=.o)
OBJECTS = $(CODEOJBECTS)
LDIRT = $(TEXHFILES)
HFILES = font.h font_ext.h
default: $(CODEOBJECTS) $(DATAOBJECTS)
include $(COMMONRULES)
install: default
$(INSTALL) -m 444 -F /usr/src/PR/demos/gng/gng_report \
$(HFILES) $(CODEFILES) $(TEXTURES) Makefile
$(OBJECTS): $(HFILES) $(TEXHFILES)
font.o: font.c $(HFILES) $(TEXHFILES)
#
# Header file build rules
#
letters_img.h: ${TEXDIR}/letters.rgb
cd ${TEXDIR}; $(RGB2C) -F -m letters_img -f I -s 4 letters.rgb > ../letters_img.h