def METHOD_NAME(self, spec, prefix):
    CXXFLAGS = "-O3 -ffast-math -ftree-vectorize "
    if (
        not spec.satisfies("%aocc")
        and not spec.satisfies("%cce")
        and not spec.satisfies("%arm")
        and not spec.satisfies("%intel")
        and not spec.satisfies("%oneapi")
    ):
        CXXFLAGS += " -ftree-vectorizer-verbose=0 "
    if spec.satisfies("%cce"):
        CXXFLAGS += " -Rpass=loop-vectorize"
        CXXFLAGS += " -Rpass-missed=loop-vectorize"
        CXXFLAGS += " -Rpass-analysis=loop-vectorize "
    if "+openmp" in self.spec:
        CXXFLAGS += self.compiler.openmp_flag
    config = [
        # Shell
        "SHELL         = /bin/sh",
        "CD            = cd",
        "CP            = cp",
        "LN_S          = ln -fs",
        "MKDIR         = mkdir -p",
        "RM            = /bin/rm -f",
        "TOUCH         = touch",
        # Platform identifier
        "ARCH          = {0}".format(self.arch),
        # HPCG Directory Structure / HPCG library
        "TOPdir        = {0}".format(os.getcwd()),
        "SRCdir        = $(TOPdir)/src",
        "INCdir        = $(TOPdir)/src",
        "BINdir        = $(TOPdir)/bin",
        # Message Passing library (MPI)
        "MPinc         = -I{0}".format(spec["mpi"].prefix.include),
        "MPlib         = -L{0}".format(spec["mpi"].prefix.lib),
        # HPCG includes / libraries / specifics
        "HPCG_INCLUDES = -I$(INCdir) -I$(INCdir)/$(arch) $(MPinc)",
        "HPCG_LIBS     =",
        "HPCG_OPTS     =",
        "HPCG_DEFS     = $(HPCG_OPTS) $(HPCG_INCLUDES)",
        # Compilers / linkers - Optimization flags
        "CXX           = {0}".format(spec["mpi"].mpicxx),
        "CXXFLAGS      = $(HPCG_DEFS) {0}".format(CXXFLAGS),
        "LINKER        = $(CXX)",
        "LINKFLAGS     = $(CXXFLAGS)",
        "ARCHIVER      = ar",
        "ARFLAGS       = r",
        "RANLIB        = echo",
    ]
    # Write configuration options to include file
    with open("setup/Make.{0}".format(self.arch), "w") as makefile:
        for var in config:
            makefile.write("{0}\n".format(var))