If you are having this error during your compilation with VASP-6.4.2 and VTST, if you are encountering the error
error message;
No rule to make target `pyamff_fortran/*.f90', needed by `pyamff_fortran/*.o'. Stop.
Solution
Make sure you have updated the LIB in makefile inside src/
# vim /usr/local/vasp-6.4.2-vtst/vasp.6.4.2/src/makefile
LIB=lib parser pyamff_fortran

For more information, do take a look at Configuring VTST with VASP-6.4.2 with Intel 2023.1