[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OPENMP_FLAGS in autoconf not working
From: |
Rudra Banerjee |
Subject: |
Re: OPENMP_FLAGS in autoconf not working |
Date: |
Thu, 23 Jun 2016 20:17:09 +0200 |
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@ @address@hidden@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@ @address@hidden@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@ @address@hidden@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 <address@hidden
> 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