diff --git a/Makefile.am b/Makefile.am index a756511811..34927d7290 100644 --- a/Makefile.am +++ b/Makefile.am @@ -432,6 +432,9 @@ endif if EFL_ENABLE_COVERAGE @$(MAKE) $(AM_MAKEFLAGS) lcov-report endif + +check-build: + @$(MAKE) $(AM_MAKEFLAGS) -C src check-build endif # benchmark diff --git a/src/Makefile.am b/src/Makefile.am index a2e4b69a3c..7916cc1aa3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -130,6 +130,11 @@ endif DIST_SUBDIRS += $(EXAMPLES_SUBDIRS) +if EFL_ENABLE_TESTS +check-build: + make $(check_PROGRAMS) +endif + examples: all-am @for d in $(EXAMPLES_SUBDIRS); do \ echo "Making examples in $$d"; \