Add another target to preform the necessary links for unix.mli and unix.cmi.
This should not be the best way to achieve the correct compilation commands chain. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7857 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
a64bf35f07
commit
760873eff6
|
@ -82,15 +82,12 @@ marshal.mli: $(LIB)/marshal.mli
|
|||
marshal.cmi: $(LIB)/marshal.cmi
|
||||
ln -s $(LIB)/marshal.cmi marshal.cmi
|
||||
|
||||
unix.cmo: unix.mli unix.cmi unix.ml
|
||||
unix.cmo: $(UNIXLIB)/unix.mli $(UNIXLIB)/unix.cmi $(UNIXLIB)/unixLabels.cmo links
|
||||
links:
|
||||
ln -sf $(UNIXLIB)/unix.mli unix.mli
|
||||
ln -sf $(UNIXLIB)/unix.cmi unix.cmi
|
||||
$(CAMLC) ${COMPFLAGS} -c unix.ml
|
||||
|
||||
unix.mli: $(UNIXLIB)/unix.mli
|
||||
ln -s $(UNIXLIB)/unix.mli unix.mli
|
||||
|
||||
unix.cmi: $(UNIXLIB)/unix.cmi
|
||||
ln -s $(UNIXLIB)/unix.cmi unix.cmi
|
||||
|
||||
partialclean:
|
||||
rm -f *.cm*
|
||||
|
||||
|
|
Loading…
Reference in New Issue