refactor createRemakefile so it's not a beast
refactor createRemakefile so it's not a beast

aappling-usgs/vizlab,ldecicco-USGS/vizlab,USGS-VIZLAB/vizlab,lindsaycarr/vizlab,lindsaycarr/vizlab,ldecicco-USGS/vizlab,USGS-VIZLAB/vizlab,ldecicco-USGS/vizlab,aappling-usgs/vizlab,USGS-VIZLAB/vizlab,aappling-usgs/vizlab,lindsaycarr/vizlab