[make] add default all in addition to catch-all %

This commit is contained in:
Mahmoud Al-Qudsi 2019-12-18 22:13:41 -06:00
parent 2a14199421
commit ec11bd4af7

View file

@ -22,6 +22,8 @@ endif
MAKE_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
ifeq ($(shell test -f $(MAKE_DIR)/Makefile && echo 1), 1)
all:
@+$(MAKE) -f $(MAKE_DIR)/Makefile $(MAKECMDGOALS) --no-print-directory
%:
@+$(MAKE) -f $(MAKE_DIR)/Makefile $(MAKECMDGOALS) --no-print-directory