summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-07-15 22:09:59 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-07-15 22:09:59 +0000
commit2df119603f5a560ffb6cafe85f6377076276a34a (patch)
tree3fc1d17c70eae41963ea5c408d3ce51bd8558a98 /test/Makefile
parent957e6ed786a8a7451b9f9ab600caa06c1e979cc1 (diff)
downloadlibdom-2df119603f5a560ffb6cafe85f6377076276a34a.tar.gz
libdom-2df119603f5a560ffb6cafe85f6377076276a34a.tar.bz2
Implement TestObject class and other test utilities (testutils.h)
Rudimentary test of libxml binding, so I can see what's needed svn path=/trunk/dom/; revision=3419
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/Makefile b/test/Makefile
index d9bb137..56e0e3f 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -19,7 +19,8 @@
# test Execute any test cases
# Extend toolchain settings
-CFLAGS += -I${TOP}/src/ -I$(CURDIR)
+CFLAGS += -I${TOP}/src/ -I${TOP}/bindings/xml/ -I$(CURDIR)
+LDFLAGS += `pkg-config --libs libxml-2.0`
# Release output
RELEASE =
@@ -28,7 +29,7 @@ RELEASE =
DEBUG =
# Objects
-OBJS =
+OBJS = binding
.PHONY: clean debug export release setup test
@@ -56,5 +57,5 @@ test: $(OBJS)
%: %.c
@${ECHO} ${ECHOFLAGS} "==> $<"
@${CC} -c -g ${CFLAGS} -o $@.o $<
- @${LD} -g -o $@ $@.o ${LDFLAGS} -ldom-debug
+ @${LD} -g -o $@ $@.o ${LDFLAGS} -ldom-libxml-debug -ldom-debug
@${RM} ${RMFLAGS} $@.o