fixed makefile overriding state.o