home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Graphics / SPD / Sources / makefile.ib2 < prev    next >
Encoding:
Makefile  |  1994-05-12  |  1.9 KB  |  71 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) libvec.$(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. balls.exe: balls.$(OBJ) $(SPDOBJS)
  37.    $(CC) $(CFLAGS) balls.$(OBJ) $(SPDOBJS) $(LIBFILES)
  38.  
  39. gears.exe: gears.$(OBJ) $(SPDOBJS)
  40.    $(CC) $(CFLAGS) gears.$(OBJ) $(SPDOBJS) $(LIBFILES)
  41.  
  42. mount.exe: mount.$(OBJ) $(SPDOBJS)
  43.    $(CC) $(CFLAGS) mount.$(OBJ) $(SPDOBJS) $(LIBFILES)
  44.  
  45. rings.exe: rings.$(OBJ) $(SPDOBJS)
  46.    $(CC) $(CFLAGS) rings.$(OBJ) $(SPDOBJS) $(LIBFILES)
  47.  
  48. teapot.exe: teapot.$(OBJ) $(SPDOBJS)
  49.    $(CC) $(CFLAGS) teapot.$(OBJ) $(SPDOBJS) $(LIBFILES)
  50.  
  51. tetra.exe: tetra.$(OBJ) $(SPDOBJS)
  52.    $(CC) $(CFLAGS) tetra.$(OBJ) $(SPDOBJS) $(LIBFILES)
  53.  
  54. tree.exe: tree.$(OBJ) $(SPDOBJS)
  55.    $(CC) $(CFLAGS) tree.$(OBJ) $(SPDOBJS) $(LIBFILES)
  56.  
  57. readdxf.exe: readdxf.$(OBJ) $(SPDOBJS)
  58.    $(CC) $(CFLAGS) readdxf.$(OBJ) $(SPDOBJS) $(LIBFILES)
  59.  
  60. readnff.exe: readnff.$(OBJ) $(SPDOBJS)
  61.    $(CC) $(CFLAGS) readnff.$(OBJ) $(SPDOBJS) $(LIBFILES)
  62.  
  63. sample.exe: sample.$(OBJ) $(SPDOBJS)
  64.    $(CC) $(CFLAGS) sample.$(OBJ) $(SPDOBJS) $(LIBFILES)
  65.  
  66. lattice.exe: lattice.$(OBJ) $(SPDOBJS)
  67.    $(CC) $(CFLAGS) lattice.$(OBJ) $(SPDOBJS) $(LIBFILES)
  68.  
  69. shells.exe: shells.$(OBJ) $(SPDOBJS)
  70.    $(CC) $(CFLAGS) shells.$(OBJ) $(SPDOBJS) $(LIBFILES)
  71.