Use the eagle pkg-config file instead of assuming ../eagle.

This commit is contained in:
Kristian Høgsberg 2008-11-08 15:30:41 -05:00
parent 78231c8dd0
commit f099fd24a3

View file

@ -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