diff options
author | Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr> | 2001-09-09 08:29:42 +0000 |
---|---|---|
committer | Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr> | 2001-09-09 08:29:42 +0000 |
commit | a84edb19d3ab8a8e15305a2d1c952a234fa21fba (patch) | |
tree | 18f237226a3da60e874d7e741484ff3a83b34ab8 | |
parent | 25d80995640198f79b409f76be9cfe3167de08a3 (diff) |
Ajoute make de camlp4; ajoute creation BINDIR LIBDIR s'ils n'existent pas.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3739 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r-- | Makefile.nt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.nt b/Makefile.nt index 6a962fc9e..68ee41062 100644 --- a/Makefile.nt +++ b/Makefile.nt @@ -108,7 +108,7 @@ PERVASIVES=arg array buffer callback char digest filename format gc hashtbl \ marshal int32 int64 nativeint outcometree # Recompile the system using the bootstrap compiler -all: runtime ocamlc ocamllex ocamlyacc ocamltools library ocaml otherlibraries +all: runtime ocamlc ocamllex ocamlyacc ocamltools library ocaml otherlibraries camlp4out # The compilation of ocaml will fail if the runtime has changed. # Never mind, just do make bootstrap to reach fixpoint again. @@ -197,7 +197,7 @@ cleanboot: rm -rf boot\Saved\Saved.prev\* # Compile the native-code compiler -opt: runtimeopt ocamlopt libraryopt otherlibrariesopt +opt: runtimeopt ocamlopt libraryopt otherlibrariesopt camlp4opt # Native-code versions of the tools opt.opt: ocamlc.opt ocamlopt.opt ocamllex.opt @@ -206,6 +206,8 @@ opt.opt: ocamlc.opt ocamlopt.opt ocamllex.opt install: installbyt installopt installbyt: + if not exist "$(BINDIR)" mkdir "$(BINDIR)" + if not exist "$(LIBDIR)" mkdir "$(LIBDIR)" cd byterun & $(MAKEREC) install echo $(LIBDIR)> $(LIBDIR)\ld.conf cp ocamlc $(BINDIR)\ocamlc.exe @@ -228,6 +230,7 @@ installbyt: copy /a README.win32 $(DISTRIB)\Readme.win copy /a LICENSE $(DISTRIB)\License.txt copy /a Changes $(DISTRIB)\Changes.txt + cd camlp4 & make install # Installation of the native-code compiler installopt: @@ -523,9 +526,10 @@ alldepend:: camlp4out: cd camlp4\config & cat Makefile.tpl Makefile-nt.cnf > Makefile cd camlp4 & make - camlp4opt: cd camlp4 & make opt +partialclean:: + cd camlp4 & make clean # Default rules |