Rewrote to makefile.