Makefile
686 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
41
42
43
#!smake -k
#
# 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)
default: $(CODEOBJECTS) $(DATAOBJECTS)
include $(COMMONRULES)
install: default
HFILES = font.h font_ext.h
$(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