summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <[email protected]>2012-05-07 21:58:33 -0400
committerAndrew Gallant (Ocelot) <[email protected]>2012-05-07 21:58:33 -0400
commiteeb7fd0d1ed91c8f8e62572b1b5e9ef0648bffd0 (patch)
tree000fcee1a7741ba6c5f799732b083049ff054070 /Makefile
parentd16723697e0450c3d410a5637eec40242c45b4f8 (diff)
more clean up. use log instead of fmt.Print to stderr. bug fix for event blocking (a hack fix for now).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7ba1cb4..56738f4 100644
--- a/Makefile
+++ b/Makefile
@@ -5,13 +5,17 @@
XPROTO=/usr/share/xcb
# All of the XML files in my /usr/share/xcb directory EXCEPT XKB. -_-
-all: bigreq.xml composite.xml damage.xml dpms.xml dri2.xml \
+all: build-xgbgen \
+ bigreq.xml composite.xml damage.xml dpms.xml dri2.xml \
ge.xml glx.xml randr.xml record.xml render.xml res.xml \
screensaver.xml shape.xml shm.xml sync.xml xc_misc.xml \
xevie.xml xf86dri.xml xf86vidmode.xml xfixes.xml xinerama.xml \
xinput.xml xprint.xml xproto.xml xselinux.xml xtest.xml \
xvmc.xml xv.xml
+build-xgbgen:
+ (cd xgbgen && go build)
+
%.xml:
xgbgen/xgbgen --proto-path $(XPROTO) $(XPROTO)/$*.xml > auto_$*.go