summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-04 09:34:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-04 09:34:16 +0000
commitb421f1a7158e364f515c2d8ce6c1beb94070d6e3 (patch)
tree092a70d5354c460cacc004361a025e02a1c38087 /common.mk
parent5dc3da08436eb524c2700bd569ea9c3f748e6f8e (diff)
downloadruby-b421f1a7158e364f515c2d8ce6c1beb94070d6e3.tar.gz
common.mk: MJIT_MIN_HEADER
* common.mk ($(MJIT_MIN_HEADER)): moved duplicate recipe from Makefile.in and win32/Makefile.sub. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 5f657fc7c6..3eb576ed55 100644
--- a/common.mk
+++ b/common.mk
@@ -192,6 +192,10 @@ all: $(SHOWFLAGS) main docs
main: $(SHOWFLAGS) exts $(ENCSTATIC:static=lib)encs $(MJIT_MIN_HEADER)
@$(NULLCMD)
+$(MJIT_MIN_HEADER): rb_mjit_header.h $(srcdir)/tool/transform_mjit_header.rb
+ $(ECHO) building $@
+ $(BASERUBY) $(srcdir)/tool/transform_mjit_header.rb "$(CC)" rb_mjit_header.h $@
+
.PHONY: showflags
exts enc trans: $(SHOWFLAGS)
showflags: