rules_foreign_cc/examples/third_party/bison/BUILD.bison.bazel

20 lines
436 B
Plaintext
Raw Normal View History

load("@rules_foreign_cc//tools/build_defs:configure.bzl", "configure_make")
package(default_visibility = ["//visibility:public"])
filegroup(
name = "all_srcs",
srcs = glob(["**"]),
)
# I tested and this builds for me on MAC and Linux, did not check Windows thouigh
configure_make(
name = "bison",
binaries = [
"bison",
"yacc",
],
lib_source = ":all_srcs",
static_libraries = ["liby.a"],
)