home *** CD-ROM | disk | FTP | other *** search
/ Encyclopedia of Graphics File Formats Companion / GFF_CD.ISO / formats / ttddd / spec / t3d_doc / igensurf.zoo / src / Makefile.amiga < prev    next >
Makefile  |  1991-09-28  |  1KB  |  66 lines

  1. #########################################################################
  2. #
  3. # Makefile for SAS (Lattice) C on the Amiga
  4. #
  5. #########################################################################
  6.  
  7. #
  8. # Rules:
  9. #
  10. CC    = lc:lc
  11.  
  12. .c.o:
  13.     $(CC) $(CFLAGS) $*
  14.  
  15. .DEFAULT:
  16.  
  17. #
  18. # Lattice C compile options:
  19. #
  20. # -b0     : 32 bit addressing
  21. # -fi    : ieee math
  22. # -f8    : Inline M68881 math
  23. # -m3   : Code optimized for 68030
  24. # -cw    : No warning for missing return in int functions
  25. #
  26. LCFLAGS = -cw -b0 -fi
  27.  
  28. # Other options:
  29. #
  30. # -d3    : Debug on 
  31. # -O    : Optimize
  32. #
  33. OPT = -O
  34.  
  35. #
  36. # Machine specific defines:
  37. #
  38. MACH = -DAMIGA
  39.  
  40. #
  41. # Other defines:
  42. #
  43. DEFS =
  44.  
  45.  
  46. CFLAGS = $(LCFLAGS) $(OPT) $(MACH) $(DEFS)
  47.  
  48. igensurf:    igensurf.o calexpr.o caldefn.o calfunc.o \
  49.             noise3.o ealloc.o savestr.o
  50.     BLINK FROM lib:c.o igensurf.o calexpr.o caldefn.o calfunc.o, \
  51.                        noise3.o ealloc.o savestr.o \
  52.           TO igensurf \
  53.           LIB lib:lcmieee.lib,lib:lc.lib,lib:amiga.lib
  54.  
  55. clean:
  56.     delete #?.o
  57.     delete igensurf
  58.  
  59. igensurf.o:    igensurf.c calc.h
  60.  
  61. calexpr.o:    calexpr.c calcomp.h calc.h
  62.  
  63. caldefn.o:    caldefn.c calcomp.h calc.h
  64.  
  65. calfunc.o:    calfunc.c calcomp.h calc.h
  66.