Hello,
I'm working on a big project which uses automake/autoconf
(http://rpl2.free.fr). I have written in src/Makefile.am :
SRCC=\
algebre_lineaire1.c\
algebre_lineaire2.c\
algebre_lineaire3.c\
...
SRCF=\
arithmetique.f\
bibliotheque_logarithmique.f\
bibliotheque_trigonometrique.f\
...
SRCH=\
convert.h\
copyright.h\
garanties.h\
...
rpl_SOURCES = $(SRCC) $(SRCH) $(SRCF)
rpl_LDFLAGS = -rdynamic
include_HEADERS = rplargs.h
INCLUDES = -I$(srcdir) -I$(top_builddir) $(include_libreadline)
(include_libtermcap)
DEFS = -DHAVE_CONFIG_H -Dd_version_rpl=\"@VERSION@\"
@POSTSCRIPT_SUPPORT@ @GNUPLOT_SUPPORT@ @EXPERIMENTAL_CODE@ $(date)
LDADD = $(top_builddir)/lapack-3.0/lapack/liblapack.a
$(top_builddir)/lapack-3.0/blas/libblas.a $(ldadd_libreadline)
$(ldadd_libncurses)
It works fine. But, when I run "make", a file named rpl.c must be
recompiled. How can I do that ?
Regards,
JKB