makefile sucks for loops. its now a bash script