diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-07-20 00:41:26 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-07-20 00:41:26 +0000 |
commit | ed4275b2d7031df17d7658680c357278f1533d8b (patch) | |
tree | fa4703a5af7934b4539671559bc2602ce5d227e6 /test/Makefile | |
parent | 990231a01d464a461fdc56f3406c4128e4aca3f7 (diff) | |
download | libdom-ed4275b2d7031df17d7658680c357278f1533d8b.tar.gz libdom-ed4275b2d7031df17d7658680c357278f1533d8b.tar.bz2 |
Fix RISC OS build
svn path=/trunk/dom/; revision=3446
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/test/Makefile b/test/Makefile index c8e44fe..f2cc1d3 100644 --- a/test/Makefile +++ b/test/Makefile @@ -20,7 +20,7 @@ # Extend toolchain settings CFLAGS += -I${TOP}/src/ -I${TOP}/bindings/xml/ -I$(CURDIR) -LDFLAGS += `pkg-config --libs libxml-2.0` +LDFLAGS += `${PKGCONFIG} ${PKGCONFIGFLAGS} --libs libxml-2.0` # Release output RELEASE = @@ -47,6 +47,7 @@ debug: clean: ifneq (${OBJS}, ) -@${RM} ${RMFLAGS} $(CFILES) + -@${RM} ${RMFLAGS} $(CFILES:.c=.o) -@${RM} ${RMFLAGS} $(addsuffix ${EXEEXT}, $(OBJS)) endif @@ -59,15 +60,15 @@ export: test: $(OBJS) @${PERL} testrunner.pl ${EXEEXT} - + transform: $(CFILES) # Pattern rules %: %.c @${ECHO} ${ECHOFLAGS} "==> $<" - @${CC} -c -g ${CFLAGS} -o $@.o $< - @${LD} -g -o $@ $@.o ${LDFLAGS} -ldom-libxml-debug -ldom-debug + ${CC} -c -g ${CFLAGS} -o $@.o $< + ${LD} -g -o $@ $@.o ${LDFLAGS} -ldom-libxml-debug -ldom-debug @${RM} ${RMFLAGS} $@.o - + %.c: %.xml - @${XSLT} -o $@ transform/test-to-c.xsl $< + @${XSLT} ${XSLTFLAGS} -o $@ transform/test-to-c.xsl $< |