The make command hangs up when it is run as init (PID=1) and its child processes are terminated with SIGINT
$ ls
loop.sh Makefile run-loop.sh
$ cat loop.sh
#!/bin/bash
trap 'echo SIGTERM && exit 0' SIGTERM
trap 'echo SIGINT && exit 0' SIGINT
while true; do :; done