build: Pass on makeflags and use proper @$(MAKE)

Going with the build in automake stuff allows us to run this target also in
parallel. Before we got the warning that the jobserver was missing and it
would only run as -j1. Thanks to Tom for spotting and Flameeyes for the blog
post:
https://blog.flameeyes.eu/2010/10/tell-tale-signs-that-your-makefile-is-broken#gsc.tab=0
This commit is contained in:
Stefan Schmidt 2015-05-08 15:08:44 +02:00
parent 0c07b9bea4
commit 2bd6c423d7
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ DIST_SUBDIRS += $(EXAMPLES_SUBDIRS)
if EFL_ENABLE_TESTS
check-build:
make $(check_PROGRAMS)
@$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
endif
examples: all-am