summaryrefslogtreecommitdiff
path: root/zig-x11/Makefile
diff options
context:
space:
mode:
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