automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FCLINK with conditional fortran sources


From: Christopher Hulbert
Subject: FCLINK with conditional fortran sources
Date: Thu, 22 Mar 2007 21:27:25 -0400

I have a library that has an optional fortran interface. I'd rather
not separate this into two different libraries, but on systems without
a fortran compiler, FCLD is empty and creating a libtool archive
fails. Is there another way around this. My Makefile.am is something
like

liba_la_SOURCES = a.c

if FORTRAN
liba_la_SOURCES += b.f90
endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]