# -*- python -*-

load(":vars.bzl", "LIBDIR")

package(default_visibility = ["//visibility:public"])

cc_library(
    name = "amd",
    hdrs = [
        "include/SuiteSparse_config.h",
        "include/amd.h",
    ],
    includes = [
        "include",
    ],
    linkopts = [
        "-L" + LIBDIR,
        "-lamd",
    ],
    licenses = ["notice"],  # BSD-3-Clause
)
