summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.nt21
1 files changed, 10 insertions, 11 deletions
diff --git a/Makefile.nt b/Makefile.nt
index f18e687c0..b139d9e7a 100644
--- a/Makefile.nt
+++ b/Makefile.nt
@@ -197,17 +197,16 @@ cleanboot:
# Compile the native-code compiler
opt-core:
- $(MAKE) runtimeopt
- $(MAKE) ocamlopt
- $(MAKE) libraryopt
+ $(MAKE) -f Makefile.nt runtimeopt
+ $(MAKE) -f Makefile.nt ocamlopt
+ $(MAKE) -f Makefile.nt libraryopt
opt:
- $(MAKE) runtimeopt
- $(MAKE) ocamlopt
- $(MAKE) libraryopt
- $(MAKE) otherlibrariesopt
- $(MAKE) ocamltoolsopt
- if test -n "$(WITH_OCAMLBUILD)"; then $(MAKE) ocamlbuildlib.native; else :; fi
+ $(MAKE) -f Makefile.nt opt
+ $(MAKE) -f Makefile.nt otherlibrariesopt
+ $(MAKE) -f Makefile.nt ocamltoolsopt
+ if test -n "$(WITH_OCAMLBUILD)"; then \
+ $(MAKE) -f Makefile.nt ocamlbuildlib.native; else :; fi
# Native-code versions of the tools
opt.opt: core opt-core ocamlc.opt all ocamlopt.opt ocamllex.opt \
@@ -345,7 +344,7 @@ ocamlnat: ocamlopt otherlibs/dynlink/dynlink.cmxa $(NATTOPOBJS:.cmo=.cmx)
toplevel/opttoploop.cmx: otherlibs/dynlink/dynlink.cmxa
otherlibs/dynlink/dynlink.cmxa: otherlibs/dynlink/natdynlink.ml
- cd otherlibs/dynlink && $(MAKE) allopt
+ cd otherlibs/dynlink && $(MAKE) -f Makefile.nt allopt
# The configuration file
@@ -685,7 +684,7 @@ partialclean::
# Make clean in the test suite
clean::
- cd testsuite; $(MAKE) clean
+ cd testsuite; $(MAKE) -f Makefile.nt clean
# Default rules