X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=Makefile;h=51eac54b3bdaf5e3e99991cc7e81591942b3b71f;hb=dc91851aaeac91a71eba2c266d0227adea0c5815;hp=91daf4e27c1ca7acaa4b9dde0795b5c9a777fb57;hpb=aafe9afd804263ac5e28cb2e7857cc003e3c1d2d;p=SXSI%2Fxpathcomp.git diff --git a/Makefile b/Makefile index 91daf4e..51eac54 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,12 @@ +INLINE=10 DEBUG=false PROFILE=true VERBOSE=false -BASESRC=custom.ml ptset.ml finiteCofinite.ml tag.ml tagSet.ml options.ml tree.ml -BASEMLI=sigs.mli ptset.mli finiteCofinite.mli tag.mli tagSet.mli options.mli tree.mli -MLSRCS = memory.ml $(BASESRC) ata.ml ulexer.ml xPath.ml main.ml -MLISRCS = memory.mli $(BASEMLI) ata.mli ulexer.mli xPath.mli +BASESRC=custom.ml ptset.ml finiteCofinite.ml tag.ml tagSet.ml options.ml tree.ml ata.ml +BASEMLI=sigs.mli ptset.mli finiteCofinite.mli tag.mli tagSet.mli options.mli tree.mli ata.mli +MLSRCS = memory.ml $(BASESRC) ulexer.ml xPath.ml main.ml +MLISRCS = memory.mli $(BASEMLI) ulexer.mli xPath.mli BASEOBJS= $(BASESRC:.ml=.cmx) BASEINT= $(BASEMLI:.ml=.cmi) MLOBJS = $(MLSRCS:.ml=.cmx) @@ -47,7 +48,7 @@ OCAMLOPT = ocamlopt -g -cc "$(CXX)" SYNT_DEBUG = -ppopt -DDEBUG else CXX = g++ -OCAMLOPT = ocamlopt -g -cc "$(CXX)" -ccopt -O3 -ccopt -std=c++0x -noassert -inline 10000 +OCAMLOPT = ocamlopt -g -cc "$(CXX)" -ccopt -O3 -ccopt -std=c++0x -noassert -inline $(INLINE) endif ifeq ($(PROFILE), true) SYNT_PROF = $(SYNT_DEBUG) -ppopt -DPROFILE