From a58b6ca567308b43c34c457d229d83f32aff53b2 Mon Sep 17 00:00:00 2001 From: jonathan santis Date: Tue, 22 Oct 2024 13:25:16 +0200 Subject: [PATCH] add build file --- build.zig | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 build.zig diff --git a/build.zig b/build.zig new file mode 100644 index 0000000..a2b768f --- /dev/null +++ b/build.zig @@ -0,0 +1,12 @@ +const std = @import("std"); + +pub fn build(b: *std.Build) void { + const exe = b.addExecutable(.{ + .name = "sadfasdf", + .root_source_file = b.path("main.zig"), + .target = b.standardTargetOptions(.{}), + .optimize = b.standardOptimizeOption(.{}), + }); + b.installArtifact(exe); + exe.linkLibC(); +}