Skip to content
Snippets Groups Projects
Commit 8a0bfefc authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

Build and run make_fint with libtool.

parent 72d04f4d
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,7 @@ libcdiresunpack_la_SOURCES = \
libcdiresunpack_la_LIBADD = libcdi.la
make_fint_SOURCES = make_fint.c
make_fint_CFLAGS = -static
make_fint_LDADD = $(LIBOBJS)
libcdi_la_SOURCES = \
......@@ -336,3 +337,14 @@ MOSTLYCLEANFILES += $(mo_cdi_mod)
endif
MAINTAINERCLEANFILES = cdi.inc cdiFortran.c cdipio.inc cdipioFortran.c mo_cdi.f90
# Compile programs using Libtool:
COMPILE = $(LTCOMPILE)
FCCOMPILE = $(LTFCCOMPILE)
PPFCCOMPILE = $(LTPPFCCOMPILE)
CXXCOMPILE = $(LTCXXCOMPILE)
# Compile *.F90 without CPPFLAGS, which are normally meant for the C compiler
# and might not be compatible with the Fortran compiler:
LTPPFCCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=FC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=compile $(FC) $(AM_FCFLAGS) $(FCFLAGS)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment