summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-01-29 11:35:27 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-01-29 11:35:27 +0100
commit2282aea47e55559008e1115fcad578bac8858df8 (patch)
treef3fff15c74a49cd08c5df3dfbe3b0005e395a8c9 /Makefile
parent89701c1f874d9c4c9701e817e3a23564ff63c429 (diff)
Run "make help" without specifying app
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dbcf712..17d00f3 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,9 @@ ifneq (${stack_usage}, )
COMMON_FLAGS += -fstack-usage
endif
-include src/app/${app}/Makefile.inc
+ifneq (${app}, )
+ include src/app/${app}/Makefile.inc
+endif
ifneq ($(findstring lm75,${drivers}), )
CXX_TARGETS += src/driver/lm75.cc
@@ -130,7 +132,9 @@ ifeq (${trace_malloc}, 1)
COMMON_FLAGS += -DMULTIPASS_TRACE_MALLOC
endif
-include src/arch/${arch}/Makefile.inc
+ifneq (${arch}, )
+ include src/arch/${arch}/Makefile.inc
+endif
stack: default
${QUIET}test -n "${OBJDUMP}"