home *** CD-ROM | disk | FTP | other *** search
/ gondwana.ecr.mu.oz.au/pub/ / Graphics.tar / Graphics / VOGLE.ZIP / EXAMPLES / MAKEFILE < prev    next >
Text File  |  2000-02-11  |  764b  |  30 lines

  1. #
  2. # examples makefile 
  3. #
  4. CEXAMPS = trivial simple shapes poly views circtxt moretxt jtext curves \
  5.       lstyles getstr patches balls objvws world loc teapot showg \
  6.       cube lcube tetra licosa beer
  7.  
  8. COBJS = trivial.o simple.o shapes.o poly.o views.o circtxt.o jtext.o moretxt.o \
  9.     lstyles.o getstr.o curves.o patches.o balls.o objvws.o world.o loc.o \
  10.     teapot.o showg.o cube.o lcube.o tetra.o licosa.o beer.o
  11.  
  12. #
  13. # Where to find library
  14. LIB = ../src/libvogle.a
  15. LIBS = -lsuntool -lsunwindow -lpixrect -lm
  16. #
  17. MCFLAGS = -g -fsingle -f68881 /usr/lib/f68881/libm.il
  18. CFLAGS = -I../src $(MCFLAGS)
  19.  
  20. all:    $(CEXAMPS)
  21.  
  22. $(CEXAMPS): $(COBJS) $(LIB)
  23.     $(CC) $(CFLAGS) -o $@ $@.o $(LIB) $(LIBS)
  24.  
  25. clean:
  26.     rm -f *.o core
  27.  
  28. clobber:
  29.     rm -f $(CEXAMPS) *.o core
  30.