Repaired makefile