@@ -20,6 +20,10 @@ CLEANFILES = *.gcno *.gcda *.linkinfo
SUBDIRS = src
SUBDIRS += tools tests doc
+if BUILD_EXAMPLES
+SUBDIRS += examples
+endif
+
if USE_MPI
SUBDIRS += mpi
endif
@@ -28,10 +32,6 @@ if BUILD_SOCL
SUBDIRS += socl
-if BUILD_EXAMPLES
-SUBDIRS += examples
-endif
-
if BUILD_GCC_PLUGIN
SUBDIRS += gcc-plugin