Makefile: fix utop
rules
This commit is contained in:
parent
67bbf11a12
commit
b8ccfeb0cf
@ -138,7 +138,7 @@ utils.top: DEVFLAGS=
|
|||||||
utils.top:
|
utils.top:
|
||||||
( $(patsubst %, echo "#require \"%\";;" ; ,${UTILS_PACKAGES}) ) > .ocamlinit.utils
|
( $(patsubst %, echo "#require \"%\";;" ; ,${UTILS_PACKAGES}) ) > .ocamlinit.utils
|
||||||
( $(patsubst %, echo "#mod_use \"%\";;" ; ,${MINUTILS_LIB_IMPLS} ${UTILS_LIB_IMPLS}) ) >> .ocamlinit.utils
|
( $(patsubst %, echo "#mod_use \"%\";;" ; ,${MINUTILS_LIB_IMPLS} ${UTILS_LIB_IMPLS}) ) >> .ocamlinit.utils
|
||||||
utop -init .ocamlinit.utils ${OCAMLFLAGS}
|
utop -init .ocamlinit.utils ${UTOPFLAGS}
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
## Node protocol compiler (also embedded in the main program)
|
## Node protocol compiler (also embedded in the main program)
|
||||||
@ -200,7 +200,7 @@ node.top: ${MINUTILS_LIB_IMPLS} ${UTILS_LIB_IMPLS} ${COMPILER_LIB_IMPLS} ${FULL_
|
|||||||
( $(patsubst %, echo "#mod_use \"%\";;" ; ,${MINUTILS_LIB_IMPLS} ${UTILS_LIB_IMPLS}) ) >> .ocamlinit.node
|
( $(patsubst %, echo "#mod_use \"%\";;" ; ,${MINUTILS_LIB_IMPLS} ${UTILS_LIB_IMPLS}) ) >> .ocamlinit.node
|
||||||
( $(patsubst %, echo "open %;;" ; ,Error_monad Hash Utils) ) >> .ocamlinit.node
|
( $(patsubst %, echo "open %;;" ; ,Error_monad Hash Utils) ) >> .ocamlinit.node
|
||||||
( $(patsubst %, echo "#mod_use \"%\";;" ; ,${COMPILER_LIB_IMPLS} ${FULL_NODE_LIB_IMPLS}) ) >> .ocamlinit.node
|
( $(patsubst %, echo "#mod_use \"%\";;" ; ,${COMPILER_LIB_IMPLS} ${FULL_NODE_LIB_IMPLS}) ) >> .ocamlinit.node
|
||||||
utop -init .ocamlinit.node ${OCAMLFLAGS}
|
utop -init .ocamlinit.node ${UTOPFLAGS}
|
||||||
|
|
||||||
clean::
|
clean::
|
||||||
rm -f ${TZNODE}
|
rm -f ${TZNODE}
|
||||||
|
@ -17,6 +17,8 @@ OCAMLFLAGS = \
|
|||||||
${INCLUDES} \
|
${INCLUDES} \
|
||||||
${EXTRA_OCAMLFLAGS}
|
${EXTRA_OCAMLFLAGS}
|
||||||
|
|
||||||
|
UTOPFLAGS = $(filter-out -thread,${OCAMLFLAGS})
|
||||||
|
|
||||||
OCAMLC = ocamlfind ocamlc
|
OCAMLC = ocamlfind ocamlc
|
||||||
OCAMLOPT = ocamlfind ocamlopt
|
OCAMLOPT = ocamlfind ocamlopt
|
||||||
OCAMLMKTOP = ocamlfind ocamlmktop
|
OCAMLMKTOP = ocamlfind ocamlmktop
|
||||||
|
@ -171,6 +171,7 @@ COMPILER_IMPLS := \
|
|||||||
|
|
||||||
COMPILER_PACKAGES := \
|
COMPILER_PACKAGES := \
|
||||||
${UTILS_PACKAGES} \
|
${UTILS_PACKAGES} \
|
||||||
|
compiler-libs \
|
||||||
compiler-libs.optcomp \
|
compiler-libs.optcomp \
|
||||||
lwt.unix \
|
lwt.unix \
|
||||||
ocplib-endian \
|
ocplib-endian \
|
||||||
|
Loading…
Reference in New Issue
Block a user