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", lib_source = ":all_srcs", out_binaries = [ "bison", "yacc", ], out_static_libs = ["liby.a"], )