home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / graphics / gifbla20.zip / SOURCE / MAKEFILE < prev    next >
Text File  |  1992-12-13  |  2KB  |  58 lines

  1.  
  2. # makefile for gifblast program
  3.  
  4. # You need to substitute here the appropriate lines for your system.
  5. # The next four lines are for the MSC 5.1 compiler on the PC.
  6. # The meanings of the options are:
  7. # -AL - use large model
  8. # -Ox - max. optimization
  9. # -c - standard
  10. # For systems that do not accept ANSI-style function prototypes
  11. # you should add -DNOPROTOS to the CC_ONE = ... line.
  12. CC_ONE = cl -AL -Ox -c
  13. CC_LINK = cl -AL
  14. OBJ_SUFFIX = .obj  # object file suffix
  15. EXE_SUFFIX = .exe  # executable file suffix
  16.  
  17. all: gifblast$(EXE_SUFFIX)
  18.  
  19. gifblast$(EXE_SUFFIX): gifblast$(OBJ_SUFFIX) ubasic$(OBJ_SUFFIX) \
  20.         uffile$(OBJ_SUFFIX) gifcode$(OBJ_SUFFIX) \
  21.         arith$(OBJ_SUFFIX) arithmod$(OBJ_SUFFIX) gbcon$(OBJ_SUFFIX) \
  22.         gb11code$(OBJ_SUFFIX) gb20code$(OBJ_SUFFIX)
  23.     $(CC_LINK) gifblast$(OBJ_SUFFIX) ubasic$(OBJ_SUFFIX) \
  24.         uffile$(OBJ_SUFFIX) gifcode$(OBJ_SUFFIX) \
  25.         arith$(OBJ_SUFFIX) arithmod$(OBJ_SUFFIX) gbcon$(OBJ_SUFFIX) \
  26.         gb11code$(OBJ_SUFFIX) gb20code$(OBJ_SUFFIX)
  27.  
  28. ubasic$(OBJ_SUFFIX): ubasic.h ubasic.c
  29.     $(CC_ONE) -DNOFLOAT ubasic.c
  30.  
  31. uffile$(OBJ_SUFFIX): uffile.h uffile.c
  32.     $(CC_ONE) uffile.c
  33.  
  34. gifcode$(OBJ_SUFFIX): uffile.h gifcode.h gifcode.c
  35.     $(CC_ONE) gifcode.c
  36.  
  37. arith$(OBJ_SUFFIX): uffile.h arith.h arith.c
  38.     $(CC_ONE) arith.c
  39.  
  40. arithmod$(OBJ_SUFFIX): arithmod.h arithmod.c
  41.     $(CC_ONE) -DASMFUNCS arithmod.c
  42.  
  43. gbcon$(OBJ_SUFFIX): arithmod.h gbcon.h gbcon.c
  44.     $(CC_ONE) gbcon.c
  45.  
  46. gb11code$(OBJ_SUFFIX): uffile.h arith.h arithmod.h \
  47.         gbcon.h gb11code.h gb11code.c
  48.     $(CC_ONE) gb11code.c
  49.  
  50. gb20code$(OBJ_SUFFIX): uffile.h arith.h arithmod.h \
  51.         gbcon.h gb20code.h gb20code.c
  52.     $(CC_ONE) gb20code.c
  53.  
  54. gifblast$(OBJ_SUFFIX): ubasic.h uffile.h gifcode.h \
  55.         arith.h arithmod.h gbcon.h gb11code.h gb20code.h \
  56.         gifblast.c
  57.     $(CC_ONE) gifblast.c
  58.