about summary refs log tree commit diff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index ba4d2a6..5a00841 100644
--- a/build.zig
+++ b/build.zig
@@ -28,6 +28,9 @@ pub fn build(b: *std.Build) void {
     exe.linkSystemLibrary("mpg123");
     exe.linkSystemLibrary("asound");
     exe.linkLibC();
+    exe.addCSourceFile(.{ .file = b.path("csrc/cbrr.c"), .flags = &.{} });
+    exe.addIncludePath(b.path("./csrc"));
+
     // This declares intent for the executable to be installed into the
     // standard location when the user invokes the "install" step (the default
     // step when running `zig build`).