Commit ed4544a6 authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2002-10-10 09:23:36 by cvscast] Empty log message

Original author: cvscast
Date: 2002-10-10 09:23:36+00:00
parent 11654b8a
PARSER = parser/location.cmo
TYPES = types/recursive.cmo types/sortedList.cmo types/sortedMap.cmo types/boolean.cmo types/intervals.cmo types/atoms.cmo types/strings.cmo types/types.cmo types/patterns.cmo types/syntax.cmo
TYPES = types/recursive.cmo types/sortedList.cmo \
types/sortedMap.cmo types/boolean.cmo \
types/intervals.cmo types/atoms.cmo \
types/strings.cmo types/types.cmo \
types/patterns.cmo types/syntax.cmo
DIRS = parser types
OBJECTS = $(PARSER) $(TYPES)
DEPEND = parser/*.ml parser/*.mli types/*.ml types/*.mli
INCLUDES = -I +camlp4 -I parser -I types
SYNTAX_PARSER = -pp 'camlp4o pa_extend.cmo'
all.cma: $(OBJECTS)
ocamlc -o all.cma -I +camlp4 gramlib.cma -a $(OBJECTS)
depend:
ocamldep -pp 'camlp4o pa_extend.cmo' parser/*.ml* types/*.ml*
compute_depend:
@echo "Computing dependencies ..."
ocamldep $(SYNTAX_PARSER) $(DEPEND) > depend
run_top: all.cma
ocaml $(INCLUDES) all.cma
clean:
(cd parser; rm -f *.cmi *.cmo *.cma *~)
......@@ -18,13 +32,12 @@ clean:
.SUFFIXES: .ml .mli .cmo .cmi .cmx
.ml.cmo:
ocamlc -c -pp 'camlp4o pa_extend.cmo' -I +camlp4 $<
ocamlc -c $(SYNTAX_PARSER) $(INCLUDES) $<
.ml.cmx:
ocamlopt -c $<
ocamlopt -c $(SYNTAX_PARSER) $(INCLUDES) $<
.mli.cmi:
ocamlc -c $<
ocamlc -c $(INCLUDES) $<
# FORTPATH = /users/formel8/frisch/solaris/fort/fort
FORTPATH = /home/frisch/fort
......@@ -34,33 +47,4 @@ FORTLIB = $(FORTPATH)
test: all.cma
$(FORTBIN) -I $(FORTLIB) all.cma test_fort.ml
atoms.cmo: sortedList.cmi atoms.cmi
atoms.cmx: sortedList.cmx atoms.cmi
boolean.cmo: recursive.cmi sortedList.cmi boolean.cmi
boolean.cmx: recursive.cmx sortedList.cmx boolean.cmi
intervals.cmo: intervals.cmi
intervals.cmx: intervals.cmi
patterns.cmo: sortedList.cmi sortedMap.cmi types.cmi patterns.cmi
patterns.cmx: sortedList.cmx sortedMap.cmx types.cmx patterns.cmi
recursive.cmo: recursive.cmi
recursive.cmx: recursive.cmi
sortedList.cmo: sortedList.cmi
sortedList.cmx: sortedList.cmi
sortedMap.cmo: sortedMap.cmi
sortedMap.cmx: sortedMap.cmi
location.cmo: location.cmi
strings.cmo: boolean.cmi recursive.cmi sortedMap.cmi strings.cmi
strings.cmx: boolean.cmx recursive.cmx sortedMap.cmx strings.cmi
syntax.cmo: location.cmi patterns.cmi sortedList.cmi types.cmi syntax.cmi
syntax.cmx: location.cmi patterns.cmx sortedList.cmx types.cmx syntax.cmi
test_fort.cmo: strings.cmi types.cmi
test_fort.cmx: strings.cmx types.cmx
test_types.cmo: strings.cmi types.cmi
test_types.cmx: strings.cmx types.cmx
types.cmo: atoms.cmi boolean.cmi intervals.cmi recursive.cmi sortedList.cmi \
strings.cmi types.cmi
types.cmx: atoms.cmx boolean.cmx intervals.cmx recursive.cmx sortedList.cmx \
strings.cmx types.cmi
patterns.cmi: sortedList.cmi types.cmi
syntax.cmi: patterns.cmi types.cmi
types.cmi: atoms.cmi boolean.cmi intervals.cmi strings.cmi
include depend
parser/location.cmo: parser/location.cmi
parser/location.cmx: parser/location.cmi
types/atoms.cmo: types/atoms.cmi
types/atoms.cmx: types/atoms.cmi
types/boolean.cmo: types/boolean.cmi
types/boolean.cmx: types/boolean.cmi
types/intervals.cmo: types/intervals.cmi
types/intervals.cmx: types/intervals.cmi
types/patterns.cmo: types/patterns.cmi
types/patterns.cmx: types/patterns.cmi
types/recursive.cmo: types/recursive.cmi
types/recursive.cmx: types/recursive.cmi
types/sortedList.cmo: types/sortedList.cmi
types/sortedList.cmx: types/sortedList.cmi
types/sortedMap.cmo: types/sortedMap.cmi
types/sortedMap.cmx: types/sortedMap.cmi
types/strings.cmo: types/strings.cmi
types/strings.cmx: types/strings.cmi
types/syntax.cmo: types/syntax.cmi
types/syntax.cmx: types/syntax.cmi
types/types.cmo: types/types.cmi
types/types.cmx: types/types.cmi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment