[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
non-recursive automake with make 3.81,automake-1.10
From: |
Rudra Banerjee |
Subject: |
non-recursive automake with make 3.81,automake-1.10 |
Date: |
Fri, 26 Jul 2013 16:53:38 +0100 |
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.o : src/environment.f90
src/init.o : src/init.f90 src/util.o src/constants.o
src/main.o : src/main.f90 src/init.o src/constants.o src/environment.o
src/util.o : src/util.f90 src/constants.o
scasr_LDADD =
EXTRA_DIST= autogen.sh
CLEANFILES =*.mod
In My laptop, I have:
$ autoconf --version
autoconf (GNU Autoconf) 2.69
$ automake --version
automake (GNU automake) 1.13.4
$ make -v
GNU Make 3.82
But, in the running environment, with SUSE Linux Enterprise Desktop 11
SP2, I have:
$autoconf --version
autoconf (GNU Autoconf) 2.63
$automake --version
automake (GNU automake) 1.10.1
$make --version
GNU Make 3.81
the same thing is giving error:
$make
make all-am
make[1]: Entering directory `/home/physics/phslav/trunk'
make[1]: *** No rule to make target `main.o', needed by `scasr'. Stop.
make[1]: Leaving directory `/home/physics/phslav/trunk'
I am concluding either automake or make is too old to handle
non-recursive makefile. Is this correct? Or, in my Makefile.am itself is
causing the error(may be with some non-standard)?
- non-recursive automake with make 3.81,automake-1.10,
Rudra Banerjee <=