This sounds like the Makefile.INCLUDE you have is damaged. It should have a rule for "libmri.a" in it. In the current version of AFNI (just released today), that rule is at line #1196 of Makefile.INCLUDE.
In any case, don't use "make" or "make all". The instructions clearly state "make totality" is the command to use. See the "Compilation and Installation" section of [
afni.nimh.nih.gov].
bob cox