summaryrefslogtreecommitdiffstats
path: root/doc/tools/src2html/Makefile
blob: 208f9015590227a93dd190a947a6b0df99f6a364 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
#  COPYRIGHT (c) 1988-1998.
#  On-Line Applications Research Corporation (OAR).
#  All rights reserved.
#
#  $Id$
#

CC=gcc
CFLAGS=-g 

PROGS=ctags-wr ctags-new ctags src2html

SRC2HTMLDIR=src2html1.4a

all:  tools

tools: $(PROGS)
	chmod +x $(PROGS)

ctags-wr:
	cp ../$(SRC2HTMLDIR)/ctags-wr .

ctags-new:
	cd ../$(SRC2HTMLDIR)/Ctags ; gmake 
	cp ../$(SRC2HTMLDIR)/Ctags/ctags-new .

# EMACS ctags with Ada awareness
ctags:
	cp ../$(SRC2HTMLDIR)/ctags-emacs/ctags ctags

src2html:
	cp ../$(SRC2HTMLDIR)/src2html .

clean:
	rm -f $(PROGS) 
	cd ../$(SRC2HTMLDIR)/Ctags ; gmake clean