Makefile.sgi
上传用户:xk288cn
上传日期:2007-05-28
资源大小:4876k
文件大小:2k
- #!smake
- #
- # Copyright (c) Mark J. Kilgard, 1995, 1997.
- #
- TOP = ../..
- include $(TOP)/glutdefs
- include $(ROOT)/usr/include/make/commondefs
- LD_QUICKSTART_INFO=
- LN = ln -s
- MV = mv
- RM = -rm -rf
- TARGETS = gentexfont showtxf simpletxf txfdemo
- LLDLIBS = $(GLUT) -lGLU -lGL -lXmu -lXext -lX11 -lm
- SRCS = gentexfont.c showtxf.c simpletxf.c texfont.c txfdemo.c
- OBJS = $(SRCS:.c=.o)
- LCOPTS = -I$(TOP)/include -fullwarn
- LWOFF = ,813,852,827,826
- LDIRT = *~ *.bak *.pure
- FONTS = curlfont.txf sorority.txf haeberli.txf djb.txf rockfont.txf default.txf
- default : $(TARGETS)
- gentexfont: gentexfont.o
- $(CCF) -o $@ gentexfont.o -lX11
- showtxf: showtxf.o texfont.o
- $(CCF) -o $@ showtxf.o texfont.o $(LDFLAGS)
- simpletxf: simpletxf.o texfont.o
- $(CCF) -o $@ simpletxf.o texfont.o $(LDFLAGS)
- txfdemo: txfdemo.o texfont.o
- $(CCF) -o $@ txfdemo.o texfont.o $(LDFLAGS)
- test: all $(_FORCE)
- ./gentexfont
- ./showtxf
- ./showtxf rockfont.txf
- ./simpletxf
- ./txfdemo
- fonts: $(FONTS)
- default.txf: gentexfont
- ./gentexfont
- rockfont.txf: gentexfont Makefile
- ./gentexfont
- -fn '-sgi-rock-medium-r-normal--100-*-*-*-p-*-iso8859-1'
- -file $@
- -glist 'OpenGL Makes Text 3D'
- -bitmap
- -w 256
- -h 256
- -gap 3
- $(NULL)
- curlfont.txf: gentexfont Makefile
- ./gentexfont
- -fn '-sgi-curl-medium-r-normal--48-*-*-*-p-*--ascii'
- -file $@
- -glist 'ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890 !@#$$%^&*()-=+/,.<>;:~{}[]'
- -bitmap
- -w 256
- -h 256
- -gap 3
- $(NULL)
- sorority.txf: gentexfont Makefile
- ./gentexfont
- -fn '-sgi-sorority-medium-r-normal--40-*-*-*-p-*--ascii'
- -file $@
- -glist '`"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890 !@#$$%^&*()-=+/,.<>;:~{}[]'
- -bitmap
- -w 256
- -h 256
- -gap 3
- $(NULL)
- haeberli.txf: gentexfont Makefile
- ./gentexfont
- -fn '-sgi-haeberli-medium-r-normal--48-*-*-*-p-*-iso8859-1'
- -file $@
- -glist '3ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890 !@#$$%^&*()-=+/,.<>;:~{}[]'
- -bitmap
- -w 256
- -h 256
- -gap 3
- $(NULL)
- djb.txf: gentexfont Makefile
- ./gentexfont
- -fn '-sgi-djb-medium-r-normal--35-*-*-*-p-*--ascii'
- -file $@
- -glist 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890 !@#$$%^&*()-=+/,.<>;:~{}[]'
- -bitmap
- -w 256
- -h 256
- -gap 3
- $(NULL)
- include $(COMMONRULES)