summaryrefslogtreecommitdiff
path: root/Makefile.nt
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.nt')
-rw-r--r--Makefile.nt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.nt b/Makefile.nt
index ec8b91b1bd..ff1816bad8 100644
--- a/Makefile.nt
+++ b/Makefile.nt
@@ -200,7 +200,7 @@ cleanboot:
rm -rf boot/Saved/Saved.prev/*
# Compile the native-code compiler
-opt: runtimeopt ocamlopt libraryopt otherlibrariesopt
+opt: runtimeopt ocamlopt libraryopt otherlibrariesopt ocamlbuildlib.native
# Native-code versions of the tools
opt.opt: ocamlc.opt ocamlopt.opt ocamllex.opt ocamltoolsopt.opt \
@@ -577,6 +577,9 @@ ocamlbuild.byte: ocamlc otherlibraries ocamlbuild-partial-boot
./build/ocamlbuild-byte-only.sh
ocamlbuild.native: ocamlopt otherlibrariesopt ocamlbuild-partial-boot
./build/ocamlbuild-native-only.sh
+ocamlbuildlib.native: ocamlopt otherlibrariesopt ocamlbuild-partial-boot
+ ./build/ocamlbuildlib-native-only.sh
+
.PHONY: ocamlbuild-partial-boot
ocamlbuild-partial-boot: