home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 September / macformat-041.iso / mac / Shareware City / Graphics / MacSPD / Sources / makefile.ib2 < prev    next >
Encoding:
Makefile  |  1995-04-04  |  2.1 KB  |  76 lines  |  [TEXT/R*ch]

  1. # Makefile for the SPD stuff - based on the Zortech compiler for IBM clones,
  2. # modify to support whatever compiler you have.
  3. CC    =ztc
  4. #
  5. #CFLAGS    =-mx
  6. CFLAGS    =-ml -f
  7. OBJ    = obj
  8. SPDOBJS    = drv_zrtc.$(OBJ) libini.$(OBJ) libinf.$(OBJ) libpr1.$(OBJ) libpr2.$(OBJ) libpr3.$(OBJ) libply.$(OBJ) libdmp.$(OBJ) libvec.$(OBJ) libtx.$(OBJ)
  9.  
  10. # Zortech specific graphics library
  11. LIBFILES=fg.lib
  12. #LIBFILES=fgp.lib
  13.  
  14. # Rule to compile c progs into obj's
  15. .c.$(OBJ):
  16.     $(CC) $(CFLAGS) -c $<
  17.  
  18. drv_zrtc.$(OBJ): drv_zrtc.c drv.h def.h
  19.  
  20. libini.$(OBJ): libini.c lib.h libvec.h drv.h
  21.  
  22. libinf.$(OBJ): libinf.c lib.h libvec.h drv.h
  23.  
  24. libpr1.$(OBJ): libpr1.c lib.h libvec.h drv.h
  25.  
  26. libpr2.$(OBJ): libpr2.c lib.h libvec.h drv.h
  27.  
  28. libpr3.$(OBJ): libpr3.c lib.h libvec.h drv.h
  29.  
  30. libply.$(OBJ): libply.c lib.h libvec.h drv.h
  31.  
  32. libdmp.$(OBJ): libdmp.c lib.h libvec.h drv.h
  33.  
  34. libvec.$(OBJ): libvec.c libvec.h
  35.  
  36. libtx.$(OBJ): libtx.c lib.h libvec.h drv.h
  37.  
  38. balls.exe: balls.$(OBJ) $(SPDOBJS)
  39.    $(CC) $(CFLAGS) balls.$(OBJ) $(SPDOBJS) $(LIBFILES)
  40.  
  41. gears.exe: gears.$(OBJ) $(SPDOBJS)
  42.    $(CC) $(CFLAGS) gears.$(OBJ) $(SPDOBJS) $(LIBFILES)
  43.  
  44. mount.exe: mount.$(OBJ) $(SPDOBJS)
  45.    $(CC) $(CFLAGS) mount.$(OBJ) $(SPDOBJS) $(LIBFILES)
  46.  
  47. rings.exe: rings.$(OBJ) $(SPDOBJS)
  48.    $(CC) $(CFLAGS) rings.$(OBJ) $(SPDOBJS) $(LIBFILES)
  49.  
  50. teapot.exe: teapot.$(OBJ) $(SPDOBJS)
  51.    $(CC) $(CFLAGS) teapot.$(OBJ) $(SPDOBJS) $(LIBFILES)
  52.  
  53. tetra.exe: tetra.$(OBJ) $(SPDOBJS)
  54.    $(CC) $(CFLAGS) tetra.$(OBJ) $(SPDOBJS) $(LIBFILES)
  55.  
  56. tree.exe: tree.$(OBJ) $(SPDOBJS)
  57.    $(CC) $(CFLAGS) tree.$(OBJ) $(SPDOBJS) $(LIBFILES)
  58.  
  59. readdxf.exe: readdxf.$(OBJ) $(SPDOBJS)
  60.    $(CC) $(CFLAGS) readdxf.$(OBJ) $(SPDOBJS) $(LIBFILES)
  61.  
  62. readnff.exe: readnff.$(OBJ) $(SPDOBJS)
  63.    $(CC) $(CFLAGS) readnff.$(OBJ) $(SPDOBJS) $(LIBFILES)
  64.  
  65. sample.exe: sample.$(OBJ) $(SPDOBJS)
  66.    $(CC) $(CFLAGS) sample.$(OBJ) $(SPDOBJS) $(LIBFILES)
  67.  
  68. lattice.exe: lattice.$(OBJ) $(SPDOBJS)
  69.    $(CC) $(CFLAGS) lattice.$(OBJ) $(SPDOBJS) $(LIBFILES)
  70.  
  71. shells.exe: shells.$(OBJ) $(SPDOBJS)
  72.    $(CC) $(CFLAGS) shells.$(OBJ) $(SPDOBJS) $(LIBFILES)
  73.  
  74. jacks.exe: jacks.$(OBJ) $(SPDOBJS)
  75.    $(CC) $(CFLAGS) jacks.$(OBJ) $(SPDOBJS) $(LIBFILES)
  76.