update gcc makefile: add auto dependency for basic build