makefile error

Hello,

I saw that some people had this same error:

make: *** No rule to make target `foo’. Stop.

And It was suggested to add:

Path to src files

vpath .cpp .. vpath .h …

However, this did not fix anything. Yet a bigger issue is just typing:

make linux says the same thing. I was under the impression this error only occurred for custom make files, though this is occurring for all of them. Any suggestions? I am trying to do this to build lammps with the package to make movies while skipping the writing of all the images step.

Ben

Hello,

I saw that some people had this same error:

make: *** No rule to make target `foo'. Stop.

And It was suggested to add:

# Path to src files

vpath \.cpp \.\. vpath .h ..

However, this did not fix anything. Yet a bigger issue is just typing:

make linux says the same thing. I was under the impression this error only
occurred for custom make files, though this is occurring for all of them.
Any suggestions? I am trying to do this to build lammps with the package to
make movies while skipping the writing of all the images step.

my suggestion is that you put on your thinking cap for a little bit
before you post a question like this. what are the odds that something
is so fundamentally broken and nobody notices, particularly not people
who often build lammps executables multiple times a day? and then
think about the odds that you are not following the build instructions
in the LAMMPS manual correctly?

in any case, nobody can make any serious suggestions about what you
need to change, since you only say "it doesn't work", but not what it
is exactly that you did where "it doesn't work" and what exactly the
error message is. the error message from make that you paraphrase
above can have multiple origins and the way to correct those is
different.

axel.