home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / textprocess / grep_2 / release / Makefile < prev   
Makefile  |  1998-09-23  |  2KB  |  66 lines

  1. # Project:   grep
  2.  
  3.  
  4. # Toolflags:
  5. CCflags = -c -depend !Depend -IC: -throwback -DACORN
  6. C++flags = -c -depend !Depend -IC: -throwback
  7. Linkflags = -aif -c++ -o $@
  8. ObjAsmflags = -throwback -NoCache -depend !Depend
  9. CMHGflags = 
  10. LibFileflags = -c -o $@
  11. Squeezeflags = $@
  12. PCflags = -c -depend !Depend -throwback -IP:
  13. JFPatchflags = -depend !Depend -throwback -out $@
  14. Bas2Txtflags = -j -b -o $@ -i 
  15. Basic2Cflags = -t -o $@ -4 -i 
  16. MakeDllflags = -o $@
  17. LinkDllflags = $(linkflags)
  18.  
  19.  
  20. # Final targets:
  21. rel:      @.grep
  22.         CDir @.release
  23.         Copy @.grep @.release.grep ~DF~Q~C~V
  24.         Copy @.c @.release.c R~DF~Q~C~V
  25.         Copy @.h @.release.h R~DF~Q~C~V
  26.         Copy @.Makefile @.release.Makefile R~DF~Q~C~V
  27.         Copy @.!ReadMe @.release.!ReadMe R~DF~Q~C~V
  28.         Copy @.Resources @.release.Resources R~DF~Q~C~V
  29.         Cdir @.release.o
  30.         
  31. @.grep:   @.o.alloca @.o.dfa @.o.getopt @.o.grep @.o.regex @.o.wild C:o.stubs 
  32.         link $(linkflags) @.o.alloca @.o.dfa @.o.getopt @.o.grep @.o.regex \
  33.         @.o.wild C:o.stubs 
  34.         Squeeze $(SqueezeFlags)
  35.  
  36. # User-editable dependencies:
  37.  
  38. # Static dependencies:
  39. @.o.alloca:   @.c.alloca
  40.         cc $(ccflags) -o @.o.alloca @.c.alloca 
  41. @.o.dfa:   @.c.dfa
  42.         cc $(ccflags) -o @.o.dfa @.c.dfa 
  43. @.o.getopt:   @.c.getopt
  44.         cc $(ccflags) -o @.o.getopt @.c.getopt 
  45. @.o.grep:   @.c.grep
  46.         cc $(ccflags) -o @.o.grep @.c.grep 
  47. @.o.regex:   @.c.regex
  48.         cc $(ccflags) -o @.o.regex @.c.regex 
  49. @.o.wild:   @.c.wild
  50.         cc $(ccflags) -o @.o.wild @.c.wild 
  51.  
  52.  
  53. # Dynamic dependencies:
  54. o.getopt:    c.getopt
  55. o.regex:    c.regex
  56. o.regex:    h.regex
  57. o.dfa:    c.dfa
  58. o.dfa:    h.dfa
  59. o.wild:    c.wild
  60. o.wild:    C:h.kernel
  61. o.wild:    C:h.swis
  62. o.grep:    c.grep
  63. o.grep:    C:h.kernel
  64. o.grep:    h.dfa
  65. o.grep:    h.regex
  66.