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

  1. #
  2. # examples makefile 
  3. #
  4. FEXAMPS = ftrivial fsimple fshapes fpoly fviews fcirctxt fmoretxt fcurves \
  5.       fjtext fgetstr fpatches fballs fobjvws fworld floc ftetra fcube \
  6.       flcube flstyles
  7.  
  8. FOBJS = ftrivial.o fsimple.o fshapes.o fpoly.o fviews.o fcirctxt.o fmoretxt.o \
  9.     fjtext.o fgetstr.o fcurves.o fpatches.o fballs.o fobjvws.o fworld.o floc.o \
  10.     ftetra.o fcube.o flcube.o flstyles.o
  11.  
  12. #
  13. # Where to find library
  14. LIB = ../src/libvogle.a
  15. LIBS = -lsuntool -lsunwindow -lpixrect
  16. #
  17. F77 = f77
  18.  
  19. MFFLAGS = -g -f68881 /usr/lib/f77/f68881/libm.il
  20. FFLAGS = $(MFFLAGS) -C
  21.  
  22. .f.o:
  23.     $(F77) -c $(FFLAGS) $*.f
  24.  
  25. all:    $(FEXAMPS)
  26.  
  27. $(FEXAMPS): $(FOBJS) $(LIB)
  28.     $(F77) $(FFLAGS) -o $@ $@.o $(LIB) $(LIBS) 
  29.  
  30. clean:
  31.     rm -f *.o core
  32.  
  33. clobber:
  34.     rm -f $(FEXAMPS) *.o core
  35.