Corrected makefile. Still getting unused errors though. Added Mirroring.