Makefile.sgi
上传用户:xk288cn
上传日期:2007-05-28
资源大小:4876k
文件大小:2k
- #!smake
- #
- # Copyright (c) Mark J. Kilgard, 1996, 1997, 1998.
- #
- TOP = ../..
- include $(TOP)/glutdefs
- include $(ROOT)/usr/include/make/commondefs
- LD_QUICKSTART_INFO=
- LN = ln -s
- MV = mv
- RM = -rm -rf
- TARGETS = hiddenline haloed silhouette motionblur softshadow accumaa
- field shadowvol shadowmap projshadow convolve tess textile comp csg
- dissolve envmap envphong decal textext genmipmap imgproc mipmap_lines
- projtex textrim tvertex vox warp zcomposite videoresize occlude
- af_teapots af_depthcue multilight boundary shadowfun hello2rts
- rasonly sgiflag pointburst redblue_stereo texwinalign
- LLDLIBS = $(GLUT) -lGLU -lGL -lXmu -lXi -lXext -lX11 -lm
- DATA_LINKS = 00.rgb 02.rgb 04.rgb a.rgb mandrill.rgb 01.rgb 03.rgb 05.rgb b.rgb tree.rgb vox.bin.gz
- LCOPTS = -I$(TOP)/include -fullwarn
- LWOFF = ,813,852,827,826,819
- LDIRT = *~ *.bak *.pure $(DATA_LINKS) *.pix32 *.Counts *.pixie
- default : $(TARGETS)
- tess: tess.o sphere.o
- $(CCF) -o $@ tess.o sphere.o $(LDFLAGS)
- videoresize: videoresize.o sphere.o
- $(CCF) -o $@ videoresize.o sphere.o $(LDFLAGS)
-
- textile: textile.o texture.o
- $(CCF) -o $@ textile.o texture.o $(LDFLAGS)
- comp: comp.o texture.o
- $(CCF) -o $@ comp.o texture.o $(LDFLAGS)
- envmap: envmap.o texture.o
- $(CCF) -o $@ envmap.o texture.o $(LDFLAGS)
- textext: textext.o textmap.o texture.o
- $(CCF) -o $@ textext.o textmap.o texture.o $(LDFLAGS)
- genmipmap: genmipmap.o texture.o
- $(CCF) -o $@ genmipmap.o texture.o $(LDFLAGS)
- imgproc: imgproc.o texture.o
- $(CCF) -o $@ imgproc.o texture.o $(LDFLAGS)
- projtex: projtex.o texture.o
- $(CCF) -o $@ projtex.o texture.o $(LDFLAGS)
- textrim: textrim.o texture.o
- $(CCF) -o $@ textrim.o texture.o $(LDFLAGS)
- warp: warp.o texture.o
- $(CCF) -o $@ warp.o texture.o $(LDFLAGS)
- af_depthcue: af_depthcue.o addfog.o
- $(CCF) -o $@ af_depthcue.o addfog.o $(LDFLAGS)
- af_teapots: af_teapots.o addfog.o
- $(CCF) -o $@ af_teapots.o addfog.o $(LDFLAGS)
- mipmap_lines: mipmap_lines.o izoom.o texture.o
- $(CCF) -o $@ mipmap_lines.o izoom.o texture.o $(LDFLAGS)
- hello2rts: hello2rts.o rts.o
- $(CCF) -o $@ hello2rts.o rts.o $(LDFLAGS)
- links:
- for i in $(DATA_LINKS); do
- /bin/rm -rf $$i ;
- ln -s ../../data/$$i . ;
- done
- include $(COMMONRULES)