Re: managing headers in source

2013-07-26 Thread Václav Zeman
On 07/20/2013 12:52 PM, Simon Richter wrote: > Hi Václav, > >> - src/Makefile.am: Listing headers for dependencies and source >> files. >> (http://bazaar.launchpad.net/~log4cplus/log4cplus/trunk/view/head:/src/Makefile.am) > >> > You do not need to list the headers as source files as long as the

Re: automake with fortran

2013-07-26 Thread Fabrício Zimmerer Murta
Rudra, The make rules are really set manually.. As far as I know there's no dependency tracking support implemented to fortran until someone kind enough steps in development. For example if I have mod_a and mod_b, and code_a uses them both, in the bottom of the Makefile.am (yes, the .am), I

Re: non-recursive automake with make 3.81,automake-1.10

2013-07-26 Thread Nick Bowler
Hi, On 2013-07-26 16:53 +0100, Rudra Banerjee wrote: > Hello friends, > In my laptop, I can very well use autotools with the following > Makefile.am : > bin_PROGRAMS = scasr > scasr_SOURCES = src/main.f90\ > src/constants.f90 src/environment.f90 src/util.f90 \ >

non-recursive automake with make 3.81,automake-1.10

2013-07-26 Thread Rudra Banerjee
Hello friends, In my laptop, I can very well use autotools with the following Makefile.am : bin_PROGRAMS = scasr scasr_SOURCES = src/main.f90\ src/constants.f90 src/environment.f90 src/util.f90 \ src/init.f90 src/constants.o : src/constants.f90 src/environment.

Re: automake with fortran

2013-07-26 Thread Rudra Banerjee
But even then, do src/Makefile.am is happy with any order of the source file or you have to keep the order manually? On Thu, 2013-07-25 at 14:11 -0300, Fabrício Zimmerer Murta wrote: > I implemented GNU Build System on a fortran project I work with.. > > I've created a 'Makefile.am' inside src/ (