From: Josh Triplett Date: Thu, 27 Apr 2006 18:47:09 +0000 (-0700) Subject: Use pkg-config to find libXCBxtest in the Makefile for the xtest test application. X-Git-Tag: 0.1~11 X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f91e92c43e8c82f30066b0ad9a325e587ea2b102;p=free-sw%2Fxcb%2Fdemo Use pkg-config to find libXCBxtest in the Makefile for the xtest test application. --- diff --git a/app/xte/Makefile b/app/xte/Makefile index b602e80..84f64ba 100644 --- a/app/xte/Makefile +++ b/app/xte/Makefile @@ -1,6 +1,6 @@ -pkgs = xcb xcb-keysyms +pkgs = xcb xcb-keysyms xcb-xtest CFLAGS = `pkg-config --cflags $(pkgs)` -g -Wall -Wpointer-arith -Wstrict-prototypes -LIBS = `pkg-config --libs $(pkgs)` -lXCBxtest +LIBS = `pkg-config --libs $(pkgs)` xte: xte.c $(CC) $(CFLAGS) xte.c $(LIBS) -o xte