From: Kristian Høgsberg Date: Sat, 8 Nov 2008 20:30:41 +0000 (-0500) Subject: Use the eagle pkg-config file instead of assuming ../eagle. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f099fd24a364e8ee7a2b9a5d7277e0dfd481bfe4;p=profile%2Fivi%2Fwayland.git Use the eagle pkg-config file instead of assuming ../eagle. --- 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