aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-07-16 22:44:34 +0200
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-07-16 22:44:34 +0200
commit9a3b3be02632e35778f4e93e15f0202d5b9e8735 (patch)
tree036578884996820058d64e5cee7e11ef70160692 /Makefile
parentf8cffd77d5cd734389fb11966c9eb90315e8c8ed (diff)
parentaef57075a8ff3b27341d95b424fe8bc948dc456c (diff)
merge uranthers stuff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b0c4e54..501a859 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,11 @@ all: uzbl uzblctrl
PREFIX?=$(DESTDIR)/usr
+# When compiling unit tests, compile uzbl as a library first
+tests: uzbl.o
+ $(CC) -DUZBL_LIBRARY -shared -Wl uzbl.o -o ./tests/libuzbl.so
+ cd ./tests/; $(MAKE)
+
test: uzbl
./uzbl --uri http://www.uzbl.org --verbose
@@ -23,6 +28,8 @@ test-share: uzbl
clean:
rm -f uzbl
rm -f uzblctrl
+ rm -f uzbl.o
+ cd ./tests/; $(MAKE) clean
install:
install -d $(PREFIX)/bin