From f099fd24a364e8ee7a2b9a5d7277e0dfd481bfe4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Sat, 8 Nov 2008 15:30:41 -0500 Subject: [PATCH] Use the eagle pkg-config file instead of assuming ../eagle. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0205537..05f7229 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ CFLAGS = -Wall -g -EAGLE_CFLAGS = -I../eagle -EAGLE_LDLIBS = -L../eagle -leagle +PKG_CONFIG_PATH ?= $(HOME)/install/lib/pkgconfig + +EAGLE_CFLAGS = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config --cflags eagle) +EAGLE_LDLIBS = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config --libs eagle) clients = flower pointer background window compositors = egl-compositor.so glx-compositor.so -- 2.7.4