summaryrefslogtreecommitdiffstats
path: root/byterun
diff options
context:
space:
mode:
authorWojciech Meyer <wojciech.meyer@gmail.com>2013-02-25 03:01:27 +0000
committerWojciech Meyer <wojciech.meyer@gmail.com>2013-02-25 03:01:27 +0000
commit1b9b819f39370745d2b945c782884bc5c0c8c685 (patch)
tree69c9bbea664ef1d2ab4afc5b48647459e3981f68 /byterun
parentcc09d10bf95665804502605c7d21ae375b1043f1 (diff)
byterun/Makefile: use $(MKLIB) instead of ar + $(RANLIB).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13312 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun')
-rw-r--r--byterun/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/byterun/Makefile b/byterun/Makefile
index c5fa41bd1..bee6b5b4d 100644
--- a/byterun/Makefile
+++ b/byterun/Makefile
@@ -34,12 +34,10 @@ ocamlrund$(EXE): libcamlrund.a prims.o
prims.o libcamlrund.a $(BYTECCLIBS)
libcamlrun.a: $(OBJS)
- ar rc libcamlrun.a $(OBJS)
- $(RANLIB) libcamlrun.a
+ $(call MKLIB,libcamlrun.$(A),$(OBJS))
libcamlrund.a: $(DOBJS)
- ar rc libcamlrund.a $(DOBJS)
- $(RANLIB) libcamlrund.a
+ $(call MKLIB,libcamlrund.$(A),$(DOBJS))
libcamlrun_shared.so: $(PICOBJS)
$(MKDLL) -o libcamlrun_shared.so $(PICOBJS) $(BYTECCLIBS)