For Termux (TERMUX_VERSION=0.118.1, TERMUX_APK_RELEASE=F_DROID, Android 13) a pre-built pfm-binary (aarch64) accompanies the source package for conveniance. The archive is best unpacked in /data/data/com.termux/files, to have the content immediately in place (home and usr/bin). It was built on device in the Termux-environment. (A cross-build was not attempted). To build from the sources, binutils, clang, m4, make should be installed before (or iteratively on Termux's demand ;-). Note: All entries, other than DocDir, in the configuration-file are not (yet) adapted to Termux. They were collected on ordinary Linux/BSD/IRIX/etc. systems with terminal(-emulator)s and/or X available.