From a21a2873f9a903fea772dc1c8030b6cf6409bd97 Mon Sep 17 00:00:00 2001 From: Packz Enoch Date: Sat, 25 Apr 2009 18:18:44 +0200 Subject: More rational Makefile. --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 881ddc0..c3938e9 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,9 @@ -all: - gcc `pkg-config --libs --cflags gtk+-2.0` `pkg-config --libs --cflags webkit-1.0` -Wall uzbl.c -o uzbl +CPPFLAGS=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) -Wall -W +LDFLAGS=$(shell pkg-config --libs gtk+-2.0 webkit-1.0) +all: uzbl + test: ./uzbl --uri http://www.archlinux.org + +clean: + rm -f uzbl -- cgit v1.2.3