comparison dowa/BUILD @ 64:a30944e5719e

Added vibe coded markdown to html script since it is useful for me. Updated Dowa so that it can be compiled without dirnet for windows.
author June Park <parkjune1995@gmail.com>
date Tue, 23 Dec 2025 15:18:46 -0800
parents 947b81010aba
children 551d9fc0a2ba
comparison
equal deleted inserted replaced
63:fff1b048dda6 64:a30944e5719e
1 load("@rules_cc//cc:cc_library.bzl", "cc_library") 1 load("@rules_cc//cc:cc_library.bzl", "cc_library")
2 load("@rules_cc//cc:cc_test.bzl", "cc_test") 2 load("@rules_cc//cc:cc_test.bzl", "cc_test")
3 3
4 # TODO: Fix so that we can just define in the header instead of defining in the cc_library because this is ass.
5 cc_library(
6 name = "dowa_generic",
7 srcs = [
8 "d_string.c",
9 "d_memory.c",
10 ],
11 hdrs = [
12 "dowa.h",
13 "dowa_internal.h"
14 ],
15 visibility = ["//visibility:public"],
16 )
4 17
5 cc_library( 18 cc_library(
6 name = "dowa", 19 name = "dowa",
7 srcs = [ 20 srcs = [
8 "d_string.c", 21 "d_string.c",
10 ], 23 ],
11 hdrs = [ 24 hdrs = [
12 "dowa.h", 25 "dowa.h",
13 "dowa_internal.h" 26 "dowa_internal.h"
14 ], 27 ],
28 copts = ["-DDIRECTORY"],
15 visibility = ["//visibility:public"], 29 visibility = ["//visibility:public"],
16 ) 30 )
17 31
18 cc_binary( 32 cc_binary(
19 name = "dowa_test", 33 name = "dowa_test",