diff --git a/starpurm/examples/Makefile.am b/starpurm/examples/Makefile.am
index 9bf88b4d4..55108187f 100644
--- a/starpurm/examples/Makefile.am
+++ b/starpurm/examples/Makefile.am
@@ -13,6 +13,7 @@
 #
 # See the GNU Lesser General Public License in COPYING.LGPL for more details.
 #
+include $(top_srcdir)/starpu.mk
 SUBDIRS =
 
 CLEANFILES = *.gcno *.gcda *.linkinfo
