make flags analysis: embed in a subshell