From 2df119603f5a560ffb6cafe85f6377076276a34a Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 15 Jul 2007 22:09:59 +0000 Subject: 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 --- test/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/Makefile') 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 -- cgit v1.2.3