From: Jamey Sharp Date: Thu, 20 Apr 2006 04:29:23 +0000 (-0700) Subject: Fix the neko makefile to get cflags and libs for all relevant packages. X-Git-Tag: 0.1~16^2 X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e73221b0e49fc8bd1c65c8fe014336243ea5daf4;p=free-sw%2Fxcb%2Fdemo Fix the neko makefile to get cflags and libs for all relevant packages. --- diff --git a/neko/Makefile b/neko/Makefile index 7aa7abf..f58cdc0 100644 --- a/neko/Makefile +++ b/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