/mk_risc.mak

http://github.com/fishman/ctags · Makefile · 146 lines · 96 code · 45 blank · 5 comment · 0 complexity · 9ae746b40870f55c7e7588b82ea5b376 MD5 · raw file

  1. # $Id$
  2. # Makefile for Exuberant Ctags on RISC OS
  3. GCC = gcc -DRISCOS -mthrowback
  4. REGEX = -I RegEx:
  5. OPT = -O3
  6. CC = $(GCC) $(OPT)
  7. # Object list
  8. OBJECTS = \
  9. o.args o.asm o.asp o.awk o.beta o.clang o.cobol o.eiffel o.entry
  10. o.erlang o.fortran o.get o.keyword o.lisp o.lregex o.lua o.main \
  11. o.make o.options o.parse o.pascal o.perl o.php o.python o.read \
  12. o.rexx o.routines o.ruby o.scheme o.sh o.slang o.sort o.strlist \
  13. o.tcl o.verilog o.vim o.vstring o.yacc
  14. all: $(OBJECTS)
  15. gcc -o ctags $(OBJECTS) RegEx:libregex
  16. install: ctags
  17. squeeze -v ctags ctags
  18. clean:
  19. create o.!fake! 0
  20. wipe o.* ~cf
  21. IfThere ctags Then remove ctags
  22. # Rules for object files
  23. o.args: c.args
  24. $(CC) -c c.args -o o.args
  25. o.asm: c.asm
  26. $(CC) $(REGEX) -c c.asm -o o.asm
  27. o.asp: c.asp
  28. $(CC) -c c.asp -o o.asp
  29. o.awk: c.awk
  30. $(CC) -c c.awk -o o.awk
  31. o.beta: c.beta
  32. $(CC) -c c.beta -o o.beta
  33. o.clang: c.c
  34. $(CC) -c c.c -o o.clang
  35. o.cobol: c.cobol
  36. $(CC) -c c.cobol -o o.cobol
  37. o.eiffel: c.eiffel
  38. $(CC) -c c.eiffel -o o.eiffel
  39. o.entry: c.entry
  40. $(CC) -c c.entry -o o.entry
  41. o.erlang: c.erlang
  42. $(CC) -c c.erlang -o o.erlang
  43. o.fortran: c.fortran
  44. $(CC) -c c.fortran -o o.fortran
  45. o.get: c.get
  46. $(CC) -c c.get -o o.get
  47. o.keyword: c.keyword
  48. $(CC) -c c.keyword -o o.keyword
  49. o.lisp: c.lisp
  50. $(CC) -c c.lisp -o o.lisp
  51. o.lregex: c.lregex
  52. $(CC) $(REGEX) -c c.lregex -o o.lregex
  53. o.lua: c.lua
  54. $(CC) -c c.lua -o o.lua
  55. o.main: c.main
  56. $(CC) -c c.main -o o.main
  57. o.make: c.make
  58. $(CC) -c c.make -o o.make
  59. o.options: c.options
  60. $(CC) -c c.options -o o.options
  61. o.parse: c.parse
  62. $(CC) -c c.parse -o o.parse
  63. o.pascal: c.pascal
  64. $(CC) -c c.pascal -o o.pascal
  65. o.perl: c.perl
  66. $(CC) -c c.perl -o o.perl
  67. o.php: c.php
  68. $(CC) -c c.php -o o.php
  69. o.python: c.python
  70. $(CC) -c c.python -o o.python
  71. o.read: c.read
  72. $(CC) -c c.read -o o.read
  73. o.rexx: c.rexx
  74. $(CC) -c c.rexx -o o.rexx
  75. o.routines: c.routines
  76. $(CC) -c c.routines -o o.routines
  77. o.ruby: c.ruby
  78. $(CC) -c c.ruby -o o.ruby
  79. o.scheme: c.scheme
  80. $(CC) -c c.scheme -o o.scheme
  81. o.sh: c.sh
  82. $(CC) -c c.sh -o o.sh
  83. o.slang: c.slang
  84. $(CC) -c c.slang -o o.slang
  85. o.sort: c.sort
  86. $(CC) -c c.sort -o o.sort
  87. o.sml: c.sml
  88. $(CC) -c c.sml -o o.sml
  89. o.sql: c.sql
  90. $(CC) -c c.sql -o o.sql
  91. o.strlist: c.strlist
  92. $(CC) -c c.strlist -o o.strlist
  93. o.tcl: c.tcl
  94. $(CC) -c c.tcl -o o.tcl
  95. o.vim: c.vim
  96. $(CC) -c c.vim -o o.vim
  97. o.vstring: c.vstring
  98. $(CC) -c c.vstring -o o.vstring
  99. o.yacc: c.yacc
  100. $(CC) -c c.yacc -o o.yacc
  101. # End of Makefile