X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=neko%2FMakefile;h=f58cdc0043617c9c4f23102bc4f6322e8445e5a4;hb=8bbb0940943cfa40716c931a199f3134fae32852;hp=de7ac0b755e205d05b34c6acded615a8e8498b64;hpb=0cbfd85491d9e181d6acb7c9faebff478c4c44ac;p=free-sw%2Fxcb%2Fdemo diff --git a/neko/Makefile b/neko/Makefile index de7ac0b..f58cdc0 100644 --- a/neko/Makefile +++ b/neko/Makefile @@ -1,7 +1,6 @@ -CFLAGS = -g -Wall -Wpointer-arith -Wstrict-prototypes -LIBS = -lxcb -lXCBAux -lXCBICCCM -lXCBAtom +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 - -all: xcbneko