Created more streamlined makefile for MAGMA