summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Frisch <alain@frisch.fr>2007-11-08 08:54:30 +0000
committerAlain Frisch <alain@frisch.fr>2007-11-08 08:54:30 +0000
commit93bf48211f6e99302e9c200aeb9dea0d4ff00f00 (patch)
treefbaeb4e20518de86953bb28805f74d8841e677a7
parent36ab6c07afebee1cc24c4a94a3bcbe135f5ff222 (diff)
Do not use MKLIB on Unix (BSD make does not support it).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8487 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--byterun/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/byterun/Makefile b/byterun/Makefile
index 0381aef10..f797c5451 100644
--- a/byterun/Makefile
+++ b/byterun/Makefile
@@ -22,16 +22,16 @@ OBJS=$(COMMONOBJS) unix.o main.o
DOBJS=$(OBJS:.o=.d.o) instrtrace.d.o
ocamlrun$(EXE): libcamlrun.a prims.o
- $(call MKEXE,ocamlrun$(EXE),main.o prims.o libcamlrun.a $(BYTECCLIBS), \
- $(BYTECCCOMPOPTS) $(BYTECCLINKOPTS))
+ $(BYTECC) $(BYTECCCOMPOPTS) $(BYTECCLINKOPTS) -o ocamlrun$(EXE) \
+ prims.o libcamlrun.a $(BYTECCLIBS)
ocamlrund$(EXE): libcamlrund.a prims.o
$(BYTECC) -g $(BYTECCCOMPOPTS) $(BYTECCLINKOPTS) -o ocamlrund$(EXE) \
prims.o libcamlrund.a $(BYTECCLIBS)
-libcamlrun.$(A): $(OBJS)
- $(call MKLIB,libcamlrun.$(A),$(OBJS))
-
+libcamlrun.a: $(OBJS)
+ ar rc libcamlrun.a $(OBJS)
+ $(RANLIB) libcamlrun.a
libcamlrund.a: $(DOBJS)
ar rc libcamlrund.a $(DOBJS)