home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 495a.lha / ISpell_v3.1ljr / src / Makefile < prev    next >
Makefile  |  1991-04-06  |  1KB  |  43 lines

  1. # Makefile for Amiga ISpell with ARexx server mode
  2. #
  3. # Set up for SAS/C v5.10 with SAS/ASM v5.10
  4. #
  5. # Last Update: Loren J. Rittle  Thu Dec 27 04:16:35 1990
  6.  
  7. all: ispell buildhash icombine ispell.hash
  8.  
  9. # See config.h for most setup information! - LJR
  10. # if REGEX is set regular expression searches are done on the in memory
  11. # hash table.  The constants WORDS, EGREP and LOOK are not used if
  12. # REGEX is set.  If REGEX is not set EGREP or LOOK are used to search
  13. # for words in the text file WORDS. Use REGEX! Choice has been made, 
  14. # REGEX, WORDS, EGREP and LOOK are obsolete defines, REGEX option
  15. # is always used - LJR
  16.  
  17. CFLAGS = -DCAPITALIZE -d0 -m0 -v -b0 -cfmtu -rr -O
  18. LNFLAGS = ND SC SD
  19.  
  20. OBJS = ispell.o amiga.o good.o lookup.o hash.o tree.o xgets.o regex.o local.o minrexx.o rexxglue.o
  21. LIBS = lib:lcr.lib lib:lc.lib lib:amiga.lib
  22.  
  23. ispell.hash: buildhash $(DDICT)
  24.     buildhash $(DDICT)
  25.  
  26. ispell: $(OBJS)
  27.     blink $(LNFLAGS) to ispell from lib:c.o $(OBJS) lib $(LIBS)
  28.  
  29. buildhash: buildhash.o hash.o
  30.     blink $(LNFLAGS) to buildhash from lib:c.o buildhash.o hash.o lib $(LIBS)
  31.  
  32. icombine: icombine.o
  33.     blink $(LNFLAGS) to icombine from lib:c.o icombine.o lib $(LIBS)
  34.  
  35. buildhash.o: buildhash.c
  36.     lc $(CFLAGS) -DBUILDHASH buildhash.c
  37.  
  38. rexxglue.o: lc:/source/rexxglue.asm
  39. #    Be sure you have installed rexxglue.asm in lc:/source!
  40. #    Be sure to add `SECTION CODE' before the code so ASM won't
  41. #    be upset.
  42.     asm -iinclude: -orexxglue.o lc:/source/rexxglue.asm
  43.