using bash script instead of makefile