use fPIC for 64 bit and allow for OSX paths

This commit is contained in:
Eric Parsonage
2010-11-19 10:40:31 +00:00
committed by Felix Ruess
parent 0225e32582
commit 2a58411577
+3 -7
View File
@@ -48,17 +48,13 @@ TKIVYCMI= $(TKIVY:.ml=.cmi)
TKIVYCMX= $(TKIVY:.ml=.cmx)
UNAME = $(shell uname -s)
ifeq ("$(UNAME)","Linux")
LIBS = ivy-ocaml.cma ivy-ocaml.cmxa glibivy-ocaml.cma glibivy-ocaml.cmxa tkivy-ocaml.cma tkivy-ocaml.cmxa
endif
ifeq ("$(UNAME)","linux")
LIBS = ivy-ocaml.cma ivy-ocaml.cmxa glibivy-ocaml.cma glibivy-ocaml.cmxa tkivy-ocaml.cma tkivy-ocaml.cmxa
endif
ifeq ("$(UNAME)","Darwin")
LIBRARYS = -L/opt/local/lib
LIBS = ivy-ocaml.cma ivy-ocaml.cmxa glibivy-ocaml.cma glibivy-ocaml.cmxa
endif
LIBS = ivy-ocaml.cma ivy-ocaml.cmxa glibivy-ocaml.cma glibivy-ocaml.cmxa
all : $(LIBS)
DISTRO=`ocamlc -version`