mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 16:58:48 +08:00
use fPIC for 64 bit and allow for OSX paths
This commit is contained in:
committed by
Felix Ruess
parent
0225e32582
commit
2a58411577
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user