The SGI Ultimate MAKEFILE
Brent Thomas Corkum
corkum at csri.toronto.edu
Thu Jun 7 03:06:01 AEST 1990
Regarding the ultimate makefile that was posted a while back by the
SGI people, be very careful not to break,abort the making process while
the dependency checks are taking place (by mkdepend). If you send a break
while mkdepend is running you lose your makefile. I'm not to sure why
as I have not investigated it further, maybe the SGI people can shed some
light on this as it's there makefile. So make sure you have a backup if
you use there construct.
I include a copy of my makefile below.
# The SGI Ultimate makefile
include $(ROOT)/usr/include/make/commondefs
TARGETS = examine3D
EXAMINE3DFILES = examine3D.c model.c displpop.c filepop.c analypop.c \
pickpop.c xformpop.c objecpop.c setuppop.c plinepop.c \
builpop.c writeex3.c strespop.c moparwin.c makemopa.c \
examinit.c togglest.c gridbox.c shadepop.c
FEINT3DFILES = buildmen.c userinte.c activate.c checkmen.c \
setmenu.c lightbut.c buildpop.c size.c prompt.c \
altervie.c buildsce.c pan.c checkseg.c \
insertpo.c dist.c getwindo.c barbutto.c readgeo.c \
getstrin.c pick.c feintini.c delete.c \
pivot.c getfloat.c move.c tumble.c autoscal.c \
zoom.c getbutto.c transfpo.c animate.c shade.c rotate.c undo.c \
scale.c pickvert.c toggles.c getpoint.c getlocat.c \
shadewin.c nice.c gridspac.c visible.c setpivot.c \
makeshad.c sphere.c copy.c getworld.c pline.c \
snaploca.c elevatio.c extrude.c getint.c openobje.c \
genextru.c areyousu.c getpoin2.c getbox.c getcurrw.c
CFILES = $(EXAMINE3DFILES) $(FEINT3DFILES)
LCOPTS = -DDEBUG # "local C options"
LLDLIBS = -lhoops -lgl_s -lm # local libraries (do you want -lgl_s instead?)
OPTIMIZER = -g # -g2 is default for -g, I believe
default: incdepend $(TARGETS)
$(CTAGS) -a $(CFILES)
include $(COMMONRULES) # clean and other rules supplied by COMMONRULES
$(TARGETS): $(OBJECTS)
$(CCF) $(OBJECTS) $(LDFLAGS) -o $@
More information about the Comp.sys.sgi
mailing list