#
# examples makefile 
#
CEXAMPS = trivial simple shapes poly views circtxt moretxt jtext curves \
	  lstyles getstr patches balls objvws world loc teapot showg \
	  cube lcube tetra licosa beer

COBJS = trivial.o simple.o shapes.o poly.o views.o circtxt.o jtext.o moretxt.o \
	lstyles.o getstr.o curves.o patches.o balls.o objvws.o world.o loc.o \
	teapot.o showg.o cube.o lcube.o tetra.o licosa.o beer.o

#
# Where to find library
LIB = ../src/libvogle.a
LIBS = -lsuntool -lsunwindow -lpixrect -lm
#
MCFLAGS = -g -fsingle -f68881 /usr/lib/f68881/libm.il
CFLAGS = -I../src $(MCFLAGS)

all:	$(CEXAMPS)

$(CEXAMPS): $(COBJS) $(LIB)
	$(CC) $(CFLAGS) -o $@ $@.o $(LIB) $(LIBS)

clean:
	rm -f *.o core

clobber:
	rm -f $(CEXAMPS) *.o core
