aboutsummaryrefslogtreecommitdiff
path: root/nexgb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/Makefile')
-rw-r--r--nexgb/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/nexgb/Makefile b/nexgb/Makefile
new file mode 100644
index 0000000..041d20c
--- /dev/null
+++ b/nexgb/Makefile
@@ -0,0 +1,19 @@
+XPROTO=/usr/share/xcb
+all: xproto xinerama
+
+xproto:
+ python2 go_client.py $(XPROTO)/xproto.xml
+ gofmt -w xproto.go
+
+xinerama:
+ python2 go_client.py $(XPROTO)/xinerama.xml
+ gofmt -w xinerama.go
+
+randr:
+ python2 go_client.py $(XPROTO)/randr.xml
+ gofmt -w randr.go
+
+render:
+ python2 go_client.py $(XPROTO)/render.xml
+ gofmt -w render.go
+