Makefile: small fixes
prepare for multiple loops