modify the order of the rules in Makefile