File: makefile

package info (click to toggle)
cccc 3.pre81-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,820 kB
  • ctags: 4,972
  • sloc: ansic: 33,244; cpp: 10,691; java: 618; makefile: 165; sh: 11
file content (58 lines) | stat: -rw-r--r-- 1,490 bytes parent folder | download | duplicates (8)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# Main makefile for PCCTS 1.33MR20	/* MRXXX */
#
# Terence Parr
# Parr Research Corporation
#
# verbosity versus silence...
PSss=
#
# this can be set to /user/local/bin etc...
BINDIR=bin
# This part added by Thomas Herter, M"unchen, Germany. See also manpages
# target.
MANDIR=$(HOME)/man
MANEXT=1
MANFILES=pccts.1 dlg/dlg.1 antlr/antlr.1

#CC=cc

.SILENT:

pccts:
	echo " "
	echo "             Welcome to PCCTS 1.33MR20a installation"
	echo " "
	echo "             (Version 1.33 Maintenance Release #20a)"
	echo " "
	echo "                  Released 10 August 1999"
	echo " "
	echo "                        Featuring"
	echo "         ANTLR     -- ANother Tool for Language Recognition"
	echo "         DLG       -- DFA-based Lexical Analyzer Generator"
	echo "         SORCERER  -- Source-to-source translator (tree walker)" 
	echo " "
	echo "                  http://www.antlr.org"	
	echo " "
	echo "             Trouble reports to tmoog@polhode.com"
	echo "             Additional PCCTS 1.33 information at"
	echo "                  http://www.polhode.com"
	echo
#
	if [ ! -d $(BINDIR) ] ; then mkdir $(BINDIR) ; fi
	echo Making executables...
	(cd antlr; make -s)
	echo antlr executable now in $(BINDIR)
	(cd dlg; make -s)
	echo dlg executable now in $(BINDIR)
	echo
	echo "       PCCTS 1.33MR20 installation complete"

clean:
	(cd antlr; make -s clean)
	(cd dlg; make -s clean)


manpages:
	if [ ! -d $(MANDIR) ] ; then mkdir $(MANDIR) ; fi
	cp -p $(MANFILES) $(MANDIR)/man$(MANEXT)