compiling meam

When compiling meam with LAMMPS, I know I first need to compile meam in the lib directory.
After this, I go to the /src direction and make yes-meam

I then compile lammps.

Everythiing compiles (it seemed) but at the very end, I Get errors stating:

undefined reference to meam_cleanup

etc.

I thought I did what I needed to?

Step 1) Compile meam
Step 2) make yes-meam in src
Step 3) compile lammps

Where did I go wrong?

When compiling meam with LAMMPS, I know I first need to compile meam in the lib directory.
After this, I go to the /src direction and make yes-meam

I then compile lammps.

Everythiing compiles (it seemed) but at the very end, I Get errors stating:

undefined reference to meam_cleanup

etc.

I thought I did what I needed to?

Step 1) Compile meam
Step 2) make yes-meam in src
Step 3) compile lammps

Where did I go wrong?

Impossible to say from remote. Does this happen on a fresh download of the sources?