1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* common.mk (SHOWFLAGS): show compile flags.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-11-11 12:47:17 +00:00
parent f2f7a7740a
commit 78c48e48ba
2 changed files with 13 additions and 1 deletions

View file

@ -1,4 +1,6 @@
Thu Nov 11 21:46:17 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
Thu Nov 11 21:47:12 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* common.mk (SHOWFLAGS): show compile flags.
* common.mk: hide long command lines by default. verbose-mode is
turned on by V=1 as before.

View file

@ -139,6 +139,16 @@ all: main docs
main: encs exts
@$(RUNCMD) $(MKMAIN_CMD) $(MAKE)
.PHONY: showflags SHOWFLAGS
exts enc trans: showflags
showflags: SHOWFLAGS
SHOWFLAGS:
@echo " CFLAGS = $(CFLAGS)"
@echo " XCFLAGS = $(XCFLAGS)"
@echo " CPPFLAGS = $(CPPFLAGS)"
@echo " DLDFLAGS = $(DLDFLAGS)"
@echo " SOLIBS = $(SOLIBS)"
exts: $(MKMAIN_CMD)
$(MKMAIN_CMD): $(MKFILES) incs $(PREP) $(RBCONFIG) $(LIBRUBY)