make GIRARA/GTK_INC/LIB overwritable

This commit is contained in:
Sebastian Ramacher 2011-08-25 00:45:50 +02:00
parent 686abbf588
commit 333cfa4df0

View File

@ -8,11 +8,11 @@ PREFIX ?= /usr
MANPREFIX ?= ${PREFIX}/share/man
# libs
GTK_INC = $(shell pkg-config --cflags gtk+-2.0)
GTK_LIB = $(shell pkg-config --libs gtk+-2.0 gthread-2.0)
GTK_INC ?= $(shell pkg-config --cflags gtk+-2.0)
GTK_LIB ?= $(shell pkg-config --libs gtk+-2.0 gthread-2.0)
GIRARA_INC = $(shell pkg-config --cflags girara-gtk2)
GIRARA_LIB = $(shell pkg-config --libs girara-gtk2)
GIRARA_INC ?= $(shell pkg-config --cflags girara-gtk2)
GIRARA_LIB ?= $(shell pkg-config --libs girara-gtk2)
INCS = -I. -I/usr/include ${GIRARA_INC} ${GTK_INC}
LIBS = -lc ${GIRARA_LIB} ${GTK_LIB} -lpthread -lm -ldl