aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-07-14 22:05:48 +0200
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-07-14 22:05:48 +0200
commite7bbad8f7540003eddc8c4ddec6b782185047af0 (patch)
tree4d6741fadffd854ed9bc1cea7c325ebc041ea9db /Makefile
parente4ec794daa2a27f4476f53aacbf947f57a27ce5c (diff)
parent135b490546cd5833aec76588825eba6634f8fd21 (diff)
merge 1 from the00z. examples/data/uzbl/scripts/yank.sh is still bash, this should become fixed in next merge commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4e9d282..857494c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,11 @@
+# first entries are for gnu make, 2nd for BSD make. see http://lists.uzbl.org/pipermail/uzbl-dev-uzbl.org/2009-July/000177.html
+
CFLAGS:=-std=c99 $(shell pkg-config --cflags gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0) -ggdb -Wall -W -DARCH="\"$(shell uname -m)\"" -lgthread-2.0 -DG_ERRORCHECK_MUTEXES -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\"" $(CPPFLAGS)
+CFLAGS!=echo -std=c99 `pkg-config --cflags gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0` -ggdb -Wall -W -DARCH='"\""'`uname -m`'"\""' -lgthread-2.0 -DG_ERRORCHECK_MUTEXES -DCOMMIT='"\""'`git log | head -n1 | sed "s/.* //"`'"\""' $(CPPFLAGS)
+
LDFLAGS:=$(shell pkg-config --libs gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0) -pthread $(LDFLAGS)
+LDFLAGS!=echo `pkg-config --libs gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0` -pthread $(LDFLAGS)
+
all: uzbl uzblctrl
PREFIX?=$(DESTDIR)/usr