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-0dff7051ff02master
parent
36ab6c07af
commit
93bf48211f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue