summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2002-11-01 17:06:47 +0000
committerDamien Doligez <damien.doligez-inria.fr>2002-11-01 17:06:47 +0000
commited3123ee870f0362a576a88e0c7cf266581ee1b4 (patch)
treecf48c20af4544b2be26740666dffbc1ed4b6e380 /tools/Makefile
parent24b167171c95abd67eb787ea2cd5aff655ba4574 (diff)
downloadocaml-ed3123ee870f0362a576a88e0c7cf266581ee1b4.tar.gz
changement des locations, premiere tranche
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5224 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 450342fd95..ccad6934a3 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -15,12 +15,12 @@
include ../config/Makefile
CAMLRUN=../boot/ocamlrun
-CAMLC=$(CAMLRUN) ../boot/ocamlc -I ../boot
-CAMLOPT=$(CAMLRUN) ../ocamlopt
+CAMLC=$(CAMLRUN) ../boot/ocamlc -nostdlib -I ../boot
+CAMLOPT=$(CAMLRUN) ../ocamlopt -nostdlib -I ../stdlib
CAMLLEX=$(CAMLRUN) ../boot/ocamllex
INCLUDES=-I ../utils -I ../parsing -I ../typing -I ../bytecomp -I ../asmcomp \
-I ../driver
-COMPFLAGS= -warn-error A $(INCLUDES) -nostdlib
+COMPFLAGS= -warn-error A $(INCLUDES)
LINKFLAGS=$(INCLUDES)
all: ocamldep ocamlprof ocamlcp ocamlmktop ocamlmklib scrapelabels addlabels
@@ -38,7 +38,7 @@ ocamldep: depend.cmi $(CAMLDEP_OBJ)
$(CAMLC) $(LINKFLAGS) -o ocamldep $(CAMLDEP_IMPORTS) $(CAMLDEP_OBJ)
depend.cmx:
- $(CAMLOPT) $(INCLUDES) -I ../stdlib -c depend.ml
+ $(CAMLOPT) $(COMPFLAGS) -I ../stdlib -c depend.ml
clean::
rm -f ocamldep