Use Makefile instead of bash scripts