55 lines
2.2 KiB
Makefile
55 lines
2.2 KiB
Makefile
#########################################################################
|
|
# #
|
|
# Objective Caml #
|
|
# #
|
|
# Damien Doligez, projet Para, INRIA Rocquencourt #
|
|
# #
|
|
# Copyright 1999 Institut National de Recherche en Informatique et #
|
|
# en Automatique. All rights reserved. This file is distributed #
|
|
# under the terms of the Q Public License version 1.0. #
|
|
# #
|
|
#########################################################################
|
|
|
|
# $Id$
|
|
|
|
# Makefile for the parser generator.
|
|
|
|
PPCC = mrc
|
|
PPCCOptions = -includes unix {cdbgflag} -w 2,35
|
|
PPCLinkOptions = -d {ldbgflag}
|
|
PPCLibs = "{sharedlibraries}MathLib" "{ppclibraries}PPCCRuntime.o" ¶
|
|
"{ppclibraries}PPCToolLibs.o" "{sharedlibraries}StdCLib" ¶
|
|
"{ppclibraries}StdCRuntime.o" "{sharedlibraries}InterfaceLib"
|
|
|
|
PPCOBJS = closure.c.x error.c.x lalr.c.x lr0.c.x main.c.x mkpar.c.x ¶
|
|
output.c.x ¶
|
|
reader.c.x skeleton.c.x symtab.c.x verbose.c.x warshall.c.x ¶
|
|
rotatecursor.c.x
|
|
|
|
all Ä ocamlyacc
|
|
|
|
ocamlyacc ÄÄ {PPCOBJS}
|
|
ppclink -c 'MPS ' -t MPST {PPCLinkOptions} -o ocamlyacc {PPCOBJS} {PPCLibs}
|
|
|
|
clean Ä
|
|
delete -i Å.c.x || set status 0
|
|
delete -i ocamlyacc
|
|
|
|
rotatecursor.c.x Ä ::byterun:rotatecursor.c ::byterun:rotatecursor.h
|
|
{ppcc} {ppccoptions} -I ::byterun: -o rotatecursor.c.x ::byterun:rotatecursor.c
|
|
|
|
depend Ä
|
|
|
|
closure.c.x Ä defs.h ::byterun:rotatecursor.h
|
|
error.c.x Ä defs.h ::byterun:rotatecursor.h
|
|
lalr.c.x Ä defs.h ::byterun:rotatecursor.h
|
|
lr0.c.x Ä defs.h ::byterun:rotatecursor.h
|
|
main.c.x Ä defs.h ::byterun:rotatecursor.h
|
|
mkpar.c.x Ä defs.h ::byterun:rotatecursor.h
|
|
output.c.x Ä defs.h ::byterun:rotatecursor.h
|
|
reader.c.x Ä defs.h ::byterun:rotatecursor.h
|
|
skeleton.c.x Ä defs.h ::byterun:rotatecursor.h
|
|
symtab.c.x Ä defs.h ::byterun:rotatecursor.h
|
|
verbose.c.x Ä defs.h ::byterun:rotatecursor.h
|
|
warshall.c.x Ä defs.h ::byterun:rotatecursor.h
|