summaryrefslogtreecommitdiff
path: root/defs/gmake.mk
diff options
context:
space:
mode:
Diffstat (limited to 'defs/gmake.mk')
-rw-r--r--defs/gmake.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/defs/gmake.mk b/defs/gmake.mk
index f5033b22451..7e8f9a3b13d 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -12,6 +12,12 @@ ifneq ($(filter -O0 -Od,$(optflags)),)
override XCFLAGS := $(filter-out -D_FORTIFY_SOURCE=%,$(XCFLAGS))
endif
+ifeq ($(if $(filter all main exts enc trans libencs libenc libtrans, \
+ program wprogram miniruby$(EXEEXT) mini,\
+ $(MAKECMDGOALS)),,$(MAKECMDGOALS)),)
+-include showflags
+endif
+
ifneq ($(filter universal-%,$(arch)),)
define archcmd
%.$(1).S: %.c