Re: OPENMP_FLAGS in autoconf not working

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

 



Hi,
The output is:
	mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall
\
	uninstall-am uninstall-binPROGRAMS

.PRECIOUS: Makefile

depend depend.mk:
	makedepf90 $(kmc_SOURCES) >depend.mk
@am__include@ @am__quote@xxxxxxxxx@am__quote@
#$(warning Create the dependencies Manually or try installing
makedepf90)
#$(error  like ./src/main.o:./src/main.f90)

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

The problematic line is:

depend depend.mk:
	makedepf90 $(kmc_SOURCES) >depend.mk
@am__include@ @am__quote@xxxxxxxxx@am__quote@

This is sourced from my Makefile.am:

bin_PROGRAMS =	kmc
kmc_SOURCES =	src/main.f90 src/constants.f90 src/genlat.f90
src/util.f90 src/neighbourlist.f90
if FOUND_MAKEDEPF90
depend depend.mk:
	makedepf90 $(kmc_SOURCES) >depend.mk
@am__include@ @am__quote@xxxxxxxxx@am__quote@
else
$(warning Create the dependencies Manually or try installing
makedepf90)
$(error  like ./src/main.o:./src/main.f90)
endif
kmc_LDADD = 
EXTRA_DIST=depend.mk autogen.sh Makefile kmc.in 
CLEANFILES =*.mod  *.log

but if I make @am_include tab intended, then I get error for depend.mk:

make depend
makedepf90 src/main.f90 src/constants.f90 src/genlat.f90 src/util.f90
src/neighbourlist.f90 >depend.mk
make: am__include@: Command not found
Makefile:751: recipe for target 'depend' failed

Regards, 
Rudra

> 


On Thu, 2016-06-23 at 12:54 -0400, Zack Weinberg wrote:
> On Thu, Jun 23, 2016 at 11:06 AM, Rudra Banerjee <bnrj.rudra@xxxxxxxx
> m> wrote:
> > 
> > $make
> > Makefile:752: *** missing separator.  Stop.
> 
> Please send us the **unedited** output of
> 
> $ sed -ne '745,760p' Makefile
> 
> (with a Makefile that produces the "missing separator" error message)
> 
> zw

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux