makefile
资源名称:pccts133.zip [点击查看]
上传用户:itx_2006
上传日期:2007-01-06
资源大小:493k
文件大小:2k
源码类别:
编译器/解释器
开发平台:
Others
- #
- # Main makefile for PCCTS 1.33MR14 /* 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.33MR14 installation"
- echo " "
- echo " (Version 1.33 Maintenance Release #14)"
- echo " "
- echo " Released 1 July 1998"
- echo " "
- echo " Featuring"
- echo " ANTLR -- ANother Tool for Language Recognition"
- echo " DLG -- DFA-based Lexical Analyzer Generator"
- echo " "
- echo " http://www.antlr.org"
- echo " "
- echo " Old tutorials are again at the ftp site at"
- echo " ftp.parr-research.com in pub/pccts/old_tutorials"
- echo
- echo " Trouble reports to tmoog@polhode.com"
- echo " Additional PCCTS 1.33 information at"
- echo " http://www.mcs.net/~tmoog/pccts.html"
- 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)
- (cd support/genmk; make -s; mv genmk ../../$(BINDIR))
- echo genmk executable now in $(BINDIR)
- echo
- echo " PCCTS 1.33MR14 installation complete"
- clean:
- (cd antlr; make -s clean)
- (cd dlg; make -s clean)
- (cd support/genmk; make -s clean)
- manpages:
- if [ ! -d $(MANDIR) ] ; then mkdir $(MANDIR) ; fi
- cp -p $(MANFILES) $(MANDIR)/man$(MANEXT)