makefile - Modifying configure flags -


i trying build quantum espresso. after running ./configure, make.inc created line

# iflags = how locate directories *.h or *.f90 file included #          typically -i../include -i/some/other/directory/ #          latter contains .e.g. files needed fft libraries  iflags         = -i$(topdir)/include -i../include/ 

as comment states, have add header files fftw3 flag. if use ./configure iflags=/path/to/fftw3/include 2 default paths overwritten. how can append two?

the ./configure --help states:

cppflags    c/c++/objective c preprocessor flags, e.g. -i<include dir> if           have headers in nonstandard directory <include dir> 

i tried ./configure cppflags=-i/path/to/fftw3/include, make complains not finding header files.

i can manually modify make.inc , add own path iflags , fine, looking method modify via command line.


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -