Zig言語の zig コマンドは、ビルド関連の機能が詰まったスイスアーミーナイフである その一環として make 系の機能を持っている build.zig が Makefile に相当する .step でターゲットを作れる addSystemCommand で、シェルコマンドを実行するサブコマンドを作れる zig build --help で実装したStepを一覧表示できる Zig言語はまだ情報が少ないので、ここまで調べるまでも結構苦労した build.zig の例 // build.zig const std = @import("std"); pub fn build(b: *std.build.Builder) void { const hw_step = b.step("hw", "prints the hello world"); { hw_step.dependOn(&b.ad

