Use cc in Makefile instead of gcc.  Use #!/usr/bin/env bash in test.sh.