const std = @import("std"); pub fn build(b: *std.Build) void { const obj = b.addObject(.{ .name = "base64", .root_module = b.createModule(.{ .root_source_file = b.path("base64.zig"), }), }); const exe = b.addExecutable(.{ .name = "test", .root_module = b.createModule(.{ .link_libc = true, }), }); exe.root_module.addCSourceFile(.{ .file = b.path("test.c"), .flags = &.{"-std=c99"} }); exe.root_module.addObject(obj); b.installArtifact(exe); } // syntax