- #!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 =
- beam
- candlestick
- cone
- cylinder
- helix
- helix2
- helix3
- helix4
- helixtex
- horn
- joincone
- joinoffset
- joinstyle
- martini
- screw
- taper
- texas
- transport
- twistoid
- twoid
- LLDLIBS = $(GLE) $(GLUT) -lGLU -lGL -lXmu -lXext -lX11 -lm
- LCOPTS = -I$(TOP)/include -fullwarn
- LWOFF = ,813,852,827,826
- LDIRT = *~ *.bak *.pure trackball.c trackball.h
- default : $(TARGETS)
- beam: beam.o mainsimple.o
- $(CCF) -o $@ beam.o mainsimple.o $(LDFLAGS)
- cone: cone.o mainsimple.o
- $(CCF) -o $@ cone.o mainsimple.o $(LDFLAGS)
- cylinder: cylinder.o mainsimple.o
- $(CCF) -o $@ cylinder.o mainsimple.o $(LDFLAGS)
- helix: helix.o mainsimple.o
- $(CCF) -o $@ helix.o mainsimple.o $(LDFLAGS)
- helix2: helix2.o mainsimple.o
- $(CCF) -o $@ helix2.o mainsimple.o $(LDFLAGS)
- helix3: helix3.o mainsimple.o
- $(CCF) -o $@ helix3.o mainsimple.o $(LDFLAGS)
- helix4: helix4.o mainsimple.o
- $(CCF) -o $@ helix4.o mainsimple.o $(LDFLAGS)
- helixtex: helixtex.o texture.o maintex.o
- $(CCF) -o $@ helixtex.o texture.o maintex.o $(LDFLAGS)
- horn: horn.o mainsimple.o
- $(CCF) -o $@ horn.o mainsimple.o $(LDFLAGS)
- joincone: cone.o mainjoin.o
- $(CCF) -o $@ cone.o mainjoin.o $(LDFLAGS)
- joinoffset: joinoffset.o mainjoin.o
- $(CCF) -o $@ joinoffset.o mainjoin.o $(LDFLAGS)
- joinstyle: cylinder.o mainjoin.o
- $(CCF) -o $@ cylinder.o mainjoin.o $(LDFLAGS)
- screw: screw.o texture.o maintex.o
- $(CCF) -o $@ screw.o texture.o maintex.o $(LDFLAGS)
- taper: taper.o mainsimple.o
- $(CCF) -o $@ taper.o mainsimple.o $(LDFLAGS)
- texas: texas.o mainjoin.o
- $(CCF) -o $@ texas.o mainsimple.o $(LDFLAGS)
- twistoid: twistoid.o texture.o maintex.o
- $(CCF) -o $@ twistoid.o texture.o maintex.o $(LDFLAGS)
- martini: martini.o trackball.o
- $(CCF) -o $@ martini.o trackball.o $(LDFLAGS)
- trackball.c:
- ln -s ../examples/trackball.c .
- trackball.h:
- ln -s ../examples/trackball.h .
- martini.o: martini.c trackball.h
- trackball.o: trackball.h trackball.c
- include $(COMMONRULES)