view seobeo/BUILD @ 3:2758f5527d2b

[Seobeo] Working on simple TCP server and client logic.
author June Park <parkjune1995@gmail.com>
date Wed, 24 Sep 2025 18:49:09 -0700
parents adcfad6e86fb
children 1e61008b9980
line wrap: on
line source

load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
load("@rules_cc//cc:cc_library.bzl", "cc_library")

alias(
  name = "seobeo",
  actual = select({
    "@platforms//os:osx": ":seobeo_example_mac",
  })
)

cc_binary(
  name = "seobeo_example_mac",
  srcs = ["main.c"],
  deps = [":seobeo_non_window"],
  data = [
    "pages/index.html"
  ],
  target_compatible_with = [
      "@platforms//os:osx",
  ],
)

cc_library(
  name = "seobeo_non_window",
  srcs = [
    "s_linux_network.c",
  ],
  deps = ["//dowa:dowa"],
  hdrs = [
    "seobeo.h",
    "seobeo_internal.h"
  ],
  target_compatible_with = [
      "@platforms//os:osx",
  ],
)