[PATCH 6/7] wmappkill: Use pkg-config for glib build flags.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
---
 wmappkill/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/wmappkill/Makefile b/wmappkill/Makefile
index 8b18e03..12a2bf0 100644
--- a/wmappkill/Makefile
+++ b/wmappkill/Makefile
@@ -1,5 +1,6 @@
-GTOP_LIBS = -lgtop -lgtop_sysdeps -lgtop_common -lXau
-GCCOPTS = -O2 -Wall -g
+GTOP_LIBS = -lgtop-2.0 `pkg-config glib-2.0 --libs`
+GCCOPTS = -O2 -Wall -g -I/usr/include/libgtop-2.0 \
+	`pkg-config glib-2.0 --cflags`
 CFLAGS=  -Wall
 LDLIBS = -lX11 -lXpm -lXext
 LDFLAGS= -L/usr/X/lib -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/local/lib/X11
-- 
2.7.4


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.