Commit 8a53aca9 authored by ftrigaux's avatar ftrigaux
Browse files

Added a version-script for Linux

parent 4c414595
......@@ -8,6 +8,7 @@ CFLAGS=-g -fPIC
F90FLAGS=-g -fPIC -fimplicit-none -fbacktrace -ffree-line-length-0 -fcheck=all -ffpe-trap=zero,overflow,underflow -finit-real=nan
ifeq ($(strip $(OS)), Linux)
FFLAGS=-g -fPIC -fimplicit-none -fbacktrace -ffree-line-length-0 -fcheck=all -ffpe-trap=zero,overflow,underflow -finit-real=nan
LD+=-Wl,--version-script=src/libgebt.version
endif
ifeq ($(strip $(OS)),Darwin)
FFLAGS=-g -fPIC -fimplicit-none -fbacktrace -ffree-line-length-0 -fcheck=all -ffpe-trap=zero,overflow,underflow -finit-real=nan -fallow-argument-mismatch
......@@ -62,4 +63,4 @@ clean:
rm -vf $(OBJDIR)/*.o
rm -vf $(OBJDIR)/*.mod
rm -vf $(BINDIR)/gebt
rm -vf $(BINDIR)/libgebt.so
\ No newline at end of file
rm -vf $(BINDIR)/libgebt.so
LIBGEBT_1.0 {
global:
gebt_*; initGebt; freeGebt;
i_;j_;k_;
local:
*;
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment