summaryrefslogtreecommitdiff
path: root/zig-c-interop
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-09-14 22:33:51 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-09-14 22:33:51 +0200
commitef8ffebb9216684dc0314529ee2fa98baa5f2c7b (patch)
treebd8a0bb5769151d69a441617be08ba06903c973b /zig-c-interop
parent8437bd12a54c6fe62c92b9a27fef03a5ec2a35cf (diff)
downloadprobe-ef8ffebb9216684dc0314529ee2fa98baa5f2c7b.tar.gz
Added additional notes to the Zig Interop with C Makefile
Diffstat (limited to 'zig-c-interop')
-rw-r--r--zig-c-interop/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/zig-c-interop/Makefile b/zig-c-interop/Makefile
index b0e2753..5d19def 100644
--- a/zig-c-interop/Makefile
+++ b/zig-c-interop/Makefile
@@ -1,2 +1,4 @@
+# It is important to add Include path of local directory with "-I." so
+# that Zig compiler knows where to find C files.
default:
zig run -I. main.zig