diff 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
line wrap: on
line diff
--- a/dowa/BUILD	Tue Dec 23 14:00:37 2025 -0800
+++ b/dowa/BUILD	Tue Dec 23 15:18:46 2025 -0800
@@ -1,6 +1,19 @@
 load("@rules_cc//cc:cc_library.bzl", "cc_library")
 load("@rules_cc//cc:cc_test.bzl", "cc_test")
 
+# TODO: Fix so that we can just define in the header instead of defining in the cc_library because this is ass.
+cc_library(
+  name = "dowa_generic",
+  srcs = [
+    "d_string.c",
+    "d_memory.c",
+  ],
+  hdrs = [
+    "dowa.h",
+    "dowa_internal.h"
+  ],
+  visibility = ["//visibility:public"],
+)
 
 cc_library(
   name = "dowa",
@@ -12,6 +25,7 @@
     "dowa.h",
     "dowa_internal.h"
   ],
+  copts = ["-DDIRECTORY"],
   visibility = ["//visibility:public"],
 )