EXTRA_DIST = README
+if BUILD_BENCHMARKS
+SUBDIRS_BENCHMARKS = benchmarks
+else
+SUBDIRS_BENCHMARKS =
+endif
+
if BUILD_TESTS
## SUBDIRS_TESTS = tests testsuite
## FIXME: write tests from scratch
endif
if BUILD_EXAMPLES
-## FIXME: write examples from scratch
-# SUBDIRS_EXAMPLES = examples
-SUBDIRS_EXAMPLES =
+SUBDIRS_EXAMPLES = examples
else
SUBDIRS_EXAMPLES =
endif
SUBDIRS = \
- benchmarks \
+ $(SUBDIRS_BENCHMARKS) \
$(SUBDIRS_CHECK) \
+ misc \
$(SUBDIRS_TESTS) \
$(SUBDIRS_EXAMPLES)
# These are all the possible subdirs
DIST_SUBDIRS = \
benchmarks \
- check
+ check \
+ examples \
+ misc