PageRenderTime 28ms CodeModel.GetById 23ms app.highlight 4ms RepoModel.GetById 0ms app.codeStats 0ms

/mk_risc.mak

http://github.com/fishman/ctags
Makefile | 146 lines | 96 code | 45 blank | 5 comment | 0 complexity | 9ae746b40870f55c7e7588b82ea5b376 MD5 | raw file
Possible License(s): GPL-2.0
  1# $Id$
  2# Makefile for Exuberant Ctags on RISC OS
  3
  4GCC   = gcc -DRISCOS -mthrowback
  5REGEX = -I RegEx:
  6OPT   = -O3
  7CC    = $(GCC) $(OPT)
  8
  9# Object list
 10OBJECTS = \
 11	o.args o.asm o.asp o.awk o.beta o.clang o.cobol o.eiffel o.entry
 12	o.erlang o.fortran o.get o.keyword o.lisp o.lregex o.lua o.main \
 13	o.make o.options o.parse o.pascal o.perl o.php o.python o.read \
 14	o.rexx o.routines o.ruby o.scheme o.sh o.slang o.sort o.strlist \
 15	o.tcl o.verilog o.vim o.vstring o.yacc
 16
 17all: $(OBJECTS)
 18	gcc -o ctags $(OBJECTS) RegEx:libregex
 19
 20install: ctags
 21	squeeze -v ctags ctags
 22clean:
 23	create o.!fake! 0
 24	wipe o.* ~cf
 25	IfThere ctags Then remove ctags
 26
 27# Rules for object files
 28
 29o.args:		c.args
 30	$(CC) -c c.args -o o.args
 31
 32o.asm:		c.asm
 33	$(CC) $(REGEX) -c c.asm -o o.asm
 34
 35o.asp:		c.asp
 36	$(CC) -c c.asp -o o.asp
 37
 38o.awk:		c.awk
 39	$(CC) -c c.awk -o o.awk
 40
 41o.beta:		c.beta
 42	$(CC) -c c.beta -o o.beta
 43
 44o.clang:	c.c
 45	$(CC) -c c.c -o o.clang
 46
 47o.cobol:	c.cobol
 48	$(CC) -c c.cobol -o o.cobol
 49
 50o.eiffel:	c.eiffel
 51	$(CC) -c c.eiffel -o o.eiffel
 52
 53o.entry:	c.entry
 54	$(CC) -c c.entry -o o.entry
 55
 56o.erlang:	c.erlang
 57	$(CC) -c c.erlang -o o.erlang
 58
 59o.fortran:	c.fortran
 60	$(CC) -c c.fortran -o o.fortran
 61
 62o.get:		c.get
 63	$(CC) -c c.get -o o.get
 64
 65o.keyword:	c.keyword
 66	$(CC) -c c.keyword -o o.keyword
 67
 68o.lisp:		c.lisp
 69	$(CC) -c c.lisp -o o.lisp
 70
 71o.lregex:	c.lregex
 72	$(CC) $(REGEX) -c c.lregex -o o.lregex
 73
 74o.lua:		c.lua
 75	$(CC) -c c.lua -o o.lua
 76
 77o.main:		c.main
 78	$(CC) -c c.main -o o.main
 79
 80o.make:		c.make
 81	$(CC) -c c.make -o o.make
 82
 83o.options:	c.options
 84	$(CC) -c c.options -o o.options
 85
 86o.parse:	c.parse
 87	$(CC) -c c.parse -o o.parse
 88
 89o.pascal:	c.pascal
 90	$(CC) -c c.pascal -o o.pascal
 91
 92o.perl:		c.perl
 93	$(CC) -c c.perl -o o.perl
 94
 95o.php:		c.php
 96	$(CC) -c c.php -o o.php
 97
 98o.python:	c.python
 99	$(CC) -c c.python -o o.python
100
101o.read:		c.read
102	$(CC) -c c.read -o o.read
103
104o.rexx:		c.rexx
105	$(CC) -c c.rexx -o o.rexx
106
107o.routines:	c.routines
108	$(CC) -c c.routines -o o.routines
109
110o.ruby:		c.ruby
111	$(CC) -c c.ruby -o o.ruby
112
113o.scheme:	c.scheme
114	$(CC) -c c.scheme -o o.scheme
115
116o.sh:		c.sh
117	$(CC) -c c.sh -o o.sh
118
119o.slang:	c.slang
120	$(CC) -c c.slang -o o.slang
121
122o.sort:		c.sort
123	$(CC) -c c.sort -o o.sort
124
125o.sml:		c.sml
126	$(CC) -c c.sml -o o.sml
127
128o.sql:		c.sql
129	$(CC) -c c.sql -o o.sql
130
131o.strlist:	c.strlist
132	$(CC) -c c.strlist -o o.strlist
133
134o.tcl:		c.tcl
135	$(CC) -c c.tcl -o o.tcl
136
137o.vim:		c.vim
138	$(CC) -c c.vim -o o.vim
139
140o.vstring:	c.vstring
141	$(CC) -c c.vstring -o o.vstring
142
143o.yacc:		c.yacc
144	$(CC) -c c.yacc -o o.yacc
145
146# End of Makefile