HP 9000 User Manual page 172

Computers
Hide thumbs Also See for 9000:
Table of Contents

Advertisement

Makefile Example
FIIDHSG
GEICAT
LIlT
RH
CFLAGS
LDFLAGS
IFLAGS
LIBS
SOURCE
OBJECT
all:
rtlcat:
rtlcat.cat:
/usr/bin/findmsg
/usr/bin/gencat
/usr/bin/lint
/bin/rm
-s
rtlcat.c
rtlcat.o
rtlcat rtlcat.cat
$ (OBJECT)
$(CC) -0 $@ $(OBJECT) $(LDFLAGS) $(LIBS)
rtlcat.msg
#
IL_SETI defined once in the first source file or
#
IL_SETI defined with different values for each source file
rtlcat.msg:
$ (SOURCE)
$(FIIDMSG) $(SOURCE)
>
$@
.msg.cat:
$(GEICAT) $*.cat $*.msg
.c.o:
$(CC) -c $(CFLAGS) $(IFLAGS) $<
lint:
$ (SOURCE)
$(LIIT) -u $(CFLAGS) $(IFLAGS) $(SOURCE)
>
lint
clean:
$(RM) -f *.0 *.msg lint
clobber:
clean
$(RM) -f rtlcat *.cat
.SUFFIXES:
.cat .msg
Example of Internationalized Software
B-15
B

Advertisement

Table of Contents
loading

Table of Contents