summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..5466525
--- /dev/null
+++ b/build
@@ -0,0 +1,3 @@
+#! /bin/sh
+set -efux
+nix-shell -p gcc xlibs.libX11.dev xlibs.libXrandr.dev pkgconfig --run 'gcc $(pkg-config --cflags --libs x11 xrandr) -Wall main.c'