summaryrefslogtreecommitdiff
path: root/zig-x11/Makefile
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-09-15 07:54:55 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-09-15 07:54:55 +0200
commitc81c7b573aa98953ed77fdf8b318e67d3cbe267a (patch)
tree245549840b9412078da32f7e946902dbe9f95c44 /zig-x11/Makefile
parent12d299f552a5aa8b6ea711dbe67805c4a5aab10d (diff)
downloadprobe-c81c7b573aa98953ed77fdf8b318e67d3cbe267a.tar.gz
Added Zig and X11 example for creating simple Window
Diffstat (limited to 'zig-x11/Makefile')
-rw-r--r--zig-x11/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/zig-x11/Makefile b/zig-x11/Makefile
new file mode 100644
index 0000000..910dd26
--- /dev/null
+++ b/zig-x11/Makefile
@@ -0,0 +1,8 @@
+default:
+ zig run main.zig -lX11 -lc
+
+window-test:
+ clang window.c -o window -lX11
+
+window-test-zig:
+ zig cc window.c -o window -lX11