On Mon, 2024-03-11 at 19:37 +0100, alex xmb sw ratchev wrote: > /data/data/com.termux/files/usr/bin/sh: 1: Syntax error: Bad for loop > variable
This is because of the issue I mentioned in my initial reply. This invocation is using /bin/sh which is a POSIX shell but is not bash; probably it's dash or similar (you are running on Debian or one of the GNU/Linux distros that build on it). If you set "SHELL := /bin/bash" (or whatever the path is for bash on your system) in the makefile you won't see this, I expect.