From e73221b0e49fc8bd1c65c8fe014336243ea5daf4 Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Wed, 19 Apr 2006 21:29:23 -0700 Subject: [PATCH] Fix the neko makefile to get cflags and libs for all relevant packages. --- neko/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.34.1