Switch to a variable to check accelerometer updated. Correct Makefile target