edited genmake.sh