fix makefile bug for 0 -> $^