Makefile
2.16 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#!smake -k
# --------------------------------------------------------------------
# Copyright (C) 1997 Nintendo. (Originated by SGI)
#
# $RCSfile: Makefile,v $
# $Revision: 1.1.1.1 $
# $Date: 2002/05/02 03:27:30 $
# --------------------------------------------------------------------
#
# Makefile for textures shared among applications
#
include $(ROOT)/usr/include/make/PRdefs
DATAFILES = \
brick.rgb \
chainlink.rgb \
checker.rgba \
letters.rgb \
mario.rgb \
molecule.rgba
TEXHFILES = \
RGBA16brick.h \
RGBA16brickMM.h \
RGBA16chainlink.h \
RGBA16chainlinkMM.h \
RGBA16checker.h \
RGBA16checkerMM.h \
RGBA16mario.h \
RGBA16marioMM.h \
RGBA16molecule.h \
RGBA16moleculeMM.h \
letters_img.h
LDIRT = $(TEXHFILES)
default: $(TEXHFILES)
include $(COMMONRULES)
#
# these are all 'exports' because we need them for the apps
#
exports install: default
$(INSTALL) -m 444 -F /usr/src/PR/demos/Texture \
README $(DATAFILES) Makefile
##########################################################################
#
# Texture .h files, built from RGB images:
#
RGBA16brick.h: brick.rgb
$(RGB2C) -F -s 16 -m RGBA16brick brick.rgb > $@
RGBA16brickMM.h: brick.rgb
$(RGB2C) -F -s 16 -m RGBA16brickMM -o MIP brick.rgb > $@
RGBA16chainlink.h: chainlink.rgb
$(RGB2C) -F -s 16 -m RGBA16chainlink chainlink.rgb > $@
RGBA16chainlinkMM.h: chainlink.rgb
$(RGB2C) -F -s 16 -m RGBA16chainlinkMM -o MIP chainlink.rgb > $@
RGBA16checker.h: $(RGB2C) checker.rgba
$(RGB2C) -F -s 16 -m RGBA16checker checker.rgba > $@
RGBA16checkerMM.h: $(RGB2C) checker.rgba
$(RGB2C) -F -s 16 -m RGBA16checkerMM -o MIP checker.rgba > $@
RGBA16mario.h: mario.rgb
$(RGB2C) -s 16 -m RGBA16mario mario.rgb > $@
RGBA16marioMM.h: mario.rgb
$(RGB2C) -s 16 -m RGBA16marioMM -o MIP mario.rgb > $@
RGBA16molecule.h: molecule.rgba
$(RGB2C) -F -s 16 -m RGBA16molecule molecule.rgba > $@
RGBA16moleculeMM.h: molecule.rgba
$(RGB2C) -F -s 16 -m RGBA16moleculeMM -o MIP molecule.rgba > $@
letters_img.h: letters.rgb
$(RGB2C) -F -m letters_img -f I -s 4 letters.rgb > $@
#
##########################################################################