summaryrefslogtreecommitdiff
path: root/stdlib/Makefile
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1996-02-20 11:01:20 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1996-02-20 11:01:20 +0000
commitec7b415e4010e2a6bad7290cfa7e69e1b55d93e2 (patch)
tree799d961c206fb2972553ae601a8f9a4702f7edae /stdlib/Makefile
parent66f7f8c6f875fe321f9685058970e0263a07547f (diff)
downloadocaml-ec7b415e4010e2a6bad7290cfa7e69e1b55d93e2.tar.gz
Makefile: variable CPPFLAGS pour pouvoir faire des compilos croises.
filename.mlp: typo. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@648 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/Makefile')
-rw-r--r--stdlib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile
index 5b7fd5c9ef..c9a97320d2 100644
--- a/stdlib/Makefile
+++ b/stdlib/Makefile
@@ -6,6 +6,7 @@ CAMLC=$(RUNTIME) $(COMPILER)
OPTCOMPILER=../cslopt
CAMLOPT=$(RUNTIME) $(OPTCOMPILER)
CAMLDEP=../boot/cslrun ../tools/csldep
+CPPFLAGS=-DUNIX
OBJS=pervasives.cmo list.cmo string.cmo char.cmo array.cmo sys.cmo \
hashtbl.cmo sort.cmo filename.cmo obj.cmo lexing.cmo parsing.cmo \
@@ -50,7 +51,7 @@ pervasives.cmx: pervasives.ml
filename.ml: filename.mlp ../config/Makefile
@rm -f filename.ml
- $(CPP) -DUNIX filename.mlp > filename.ml || \
+ $(CPP) $(CPPFLAGS) filename.mlp > filename.ml || \
{ rm -f filename.ml; exit 2; }
@chmod -w filename.ml