summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-10-12 14:35:37 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-10-12 14:35:37 +0200
commit95b4ad119d6c205825ef74acd1ef74981674099d (patch)
treee992abb59b6c91f28d20d8f1c69b9cbd8ee6b44b /Makefile
parenta6627709f7348dcfdcb7cd87a24ba7a80730487b (diff)
Makefiles: quiet mode, optional info output
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 224b71f..baf00b5 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,12 @@ CXXFLAGS = -std=c++14
TARGETS = src/app/${app}/main.cc src/os/object/cpp_helpers.cc src/os/object/outputstream.cc
+QUIET = @
+
+ifneq (${verbose}, )
+ QUIET =
+endif
+
include src/app/${app}/Makefile.inc
ifneq ($(findstring lm75,${drivers}), )
@@ -118,4 +124,6 @@ help: arch_help
@echo "Global architectures:"
@echo " $(shell ls src/arch)"
-.PHONY: clean help
+info: arch_info
+
+.PHONY: clean help info