summaryrefslogtreecommitdiffstats
path: root/hl/c++/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'hl/c++/Makefile.am')
-rw-r--r--hl/c++/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/hl/c++/Makefile.am b/hl/c++/Makefile.am
index 1968bf5..f9ea328 100644
--- a/hl/c++/Makefile.am
+++ b/hl/c++/Makefile.am
@@ -18,7 +18,13 @@
include $(top_srcdir)/config/commence.am
-SUBDIRS=src test
+if BUILD_TESTS_CONDITIONAL
+ TESTSERIAL_DIR =test
+else
+ TESTSERIAL_DIR=
+endif
+
+SUBDIRS=src $(TESTSERIAL_DIR)
DIST_SUBDIRS=src test examples
# Install examples