summaryrefslogtreecommitdiffstats
path: root/lib/libxo/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libxo/tests/Makefile')
-rw-r--r--lib/libxo/tests/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libxo/tests/Makefile b/lib/libxo/tests/Makefile
index 43f2e9d..de59ada 100644
--- a/lib/libxo/tests/Makefile
+++ b/lib/libxo/tests/Makefile
@@ -244,10 +244,15 @@ PROGS+= test_09
PROGS+= test_10
PROGS+= test_11
-CFLAGS+= -I${LIBXOSRC}/libxo
+CFLAGS+= -I${LIBXOSRC}/libxo -I${.CURDIR:H}
-LIBADD= xo
+LIBADD= xo util
SUBDIR+= encoder
+.if ${MACHINE} == "host"
+# make it easy to test without install
+TESTSDIR= ${.OBJDIR}
+.endif
+
.include <bsd.test.mk>
OpenPOWER on IntegriCloud