makefile updates

pass flags to subprocess makes