summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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}"