home *** CD-ROM | disk | FTP | other *** search
/ gondwana.ecr.mu.oz.au/pub/ / Graphics.tar / Graphics / SPD.3.0.shar.gz / SPD.3.0.shar / makefile < prev    next >
Makefile  |  1991-01-13  |  1KB  |  60 lines

  1. # makefile for standard procedural databases
  2. # Author:  Eric Haines, 3D/Eye, Inc.
  3. #   Works on HP 300 and 800 machines, Apollo DN10000 - might even work for you
  4.  
  5. CC=cc -O
  6. INC=def.h lib.h
  7. BASELIB=-lm
  8.  
  9. all:        balls gears mount rings teapot tetra tree
  10.  
  11. lib.o:        $(INC) lib.c
  12.         $(CC) -c lib.c
  13.  
  14. balls:        lib.o balls.o
  15.         $(CC) -o balls balls.o lib.o $(BASELIB)
  16.  
  17. balls.o:    $(INC) balls.c
  18.         $(CC) -c balls.c
  19.  
  20. gears:        lib.o gears.o
  21.         $(CC) -o gears gears.o lib.o $(BASELIB)
  22.  
  23. gears.o:    $(INC) gears.c
  24.         $(CC) -c gears.c
  25.  
  26. mount:        lib.o mount.o
  27.         $(CC) -o mount mount.o lib.o $(BASELIB)
  28.  
  29. mount.o:    $(INC) mount.c
  30.         $(CC) -c mount.c
  31.  
  32. rings:        lib.o rings.o
  33.         $(CC) -o rings rings.o lib.o $(BASELIB)
  34.  
  35. rings.o:    $(INC) rings.c
  36.         $(CC) -c rings.c
  37.  
  38. teapot:        lib.o teapot.o
  39.         $(CC) -o teapot teapot.o lib.o $(BASELIB)
  40.  
  41. teapot.o:    $(INC) teapot.c
  42.         $(CC) -c teapot.c
  43.  
  44. tetra:        lib.o tetra.o
  45.         $(CC) -o tetra tetra.o lib.o $(BASELIB)
  46.  
  47. tetra.o:    $(INC) tetra.c
  48.         $(CC) -c tetra.c
  49.  
  50. tree:        lib.o tree.o
  51.         $(CC) -o tree tree.o lib.o $(BASELIB)
  52.  
  53. tree.o:        $(INC) tree.c
  54.         $(CC) -c tree.c
  55.  
  56. clean:
  57.         rm -f balls gears mount rings teapot tetra tree
  58.         rm -f balls.o gears.o mount.o rings.o teapot.o tetra.o tree.o
  59.         rm -f lib.o
  60.