summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-09-25 18:59:16 +0200
committertv <tv@krebsco.de>2018-09-25 18:59:28 +0200
commitca071639f6775e42e6fc7d394424fe8936734764 (patch)
tree8e74d3fac79fd667ef7daffbae82fe9f52d346f7 /build
initial commit
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'