Fix makefile
Exit and re-enter a state when the params change