projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.
[SXSI/xpathcomp.git]
/
benchmark
/
Makefile
diff --git
a/benchmark/Makefile
b/benchmark/Makefile
index
11f4991
..
f02d6b8
100644
(file)
--- a/
benchmark/Makefile
+++ b/
benchmark/Makefile
@@
-1,10
+1,10
@@
-MLSRCS = benchmark.ml
main.ml
+MLSRCS = benchmark.ml main.ml
MLISRCS = benchmark.mli
MLOBJS = $(MLSRCS:.ml=.cmx)
MLCINT = $(MLISRCS:.mli=.cmi)
MLISRCS = benchmark.mli
MLOBJS = $(MLSRCS:.ml=.cmx)
MLCINT = $(MLISRCS:.mli=.cmi)
-OCAMLPACKAGES = unix,str
+OCAMLPACKAGES = unix,str
,camlp4
PPINCLUDES=$(OCAMLINCLUDES:%=-ppopt %)
PPINCLUDES=$(OCAMLINCLUDES:%=-ppopt %)
@@
-13,11
+13,11
@@
OCAMLOPT = ocamlopt
OCAMLFIND = ocamlfind
OCAMLMKLIB = ocamlmklib
OCAMLDEP = ocamldep
OCAMLFIND = ocamlfind
OCAMLMKLIB = ocamlmklib
OCAMLDEP = ocamldep
-LINK=$(OCAMLOPT) -linkpkg
-
+LINK=$(OCAMLOPT) -linkpkg
camlp4lib.cmxa
+SYNTAX=-syntax camlp4o -ppopt pa_macro.cmo
all: $(MLOBJS)
all: $(MLOBJS)
- $(OCAMLFIND) $(LINK) -o test_suite -package "$(OCAMLPACKAGES)" $(MLOBJS)
+ $(OCAMLFIND) $(LINK) -o test_suite -package "$(OCAMLPACKAGES)" $(
SYNTAX) $(
MLOBJS)
.SUFFIXES: .ml .mli .cmx .cmi
.PHONY: depend
.SUFFIXES: .ml .mli .cmx .cmi
.PHONY: depend
@@
-33,7
+33,7
@@
clean:
depend: $(MLSRCS) $(MLISRCS)
depend: $(MLSRCS) $(MLISRCS)
- @
$(OCAMLFIND) $(OCAMLDEP) -package "$(OCAMLPACKAGES)"
$(MLSRCS) $(MLISRCS) >depend
+ @
$(OCAMLFIND) $(OCAMLDEP) -package "$(OCAMLPACKAGES)" $(SYNTAX)
$(MLSRCS) $(MLISRCS) >depend
include depend
include depend