[Xcb-commit] 2 commits - xcb-demo

Jamey Sharp jamey at kemper.freedesktop.org
Wed Apr 19 21:29:46 PDT 2006


 xcb-demo/neko/Makefile |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

New commits:
diff-tree b03af4955e3f8e17f76c92f6997c35fa818d0964 (from parents)
Merge: f7f37f8fa368ccc619957d3f29a5c716b4278d8c a98eab2a8f8f1a5474c9e9aee2d67ca2979f9055
Author: Jamey Sharp <jamey at minilop.net>
Date:   Wed Apr 19 21:29:36 2006 -0700

    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb

diff-tree f7f37f8fa368ccc619957d3f29a5c716b4278d8c (from fd46b3b75811ff85ecbee85d2cf7758d1f0eb5d2)
Author: Jamey Sharp <jamey at minilop.net>
Date:   Wed Apr 19 21:29:23 2006 -0700

    Fix the neko makefile to get cflags and libs for all relevant packages.

diff --git a/xcb-demo/neko/Makefile b/xcb-demo/neko/Makefile
index 7aa7abf..f58cdc0 100644
--- a/xcb-demo/neko/Makefile
+++ b/xcb-demo/neko/Makefile
@@ -1,5 +1,6 @@
-CFLAGS = `pkg-config --cflags xcb` -g -Wall -Wpointer-arith -Wstrict-prototypes
-LIBS = `pkg-config --libs xcb-aux xcb-icccm xcb-atom xcb-keysyms` -lm
+pkgs = xcb xcb-aux xcb-icccm xcb-atom xcb-keysyms
+CFLAGS = `pkg-config --cflags $(pkgs)` -g -Wall -Wpointer-arith -Wstrict-prototypes
+LIBS = `pkg-config --libs $(pkgs)` -lm
 
 xcbneko:	xcbneko.c
 	$(CC) $(CFLAGS) xcbneko.c $(LIBS) -o xcbneko


More information about the xcb-commit mailing list