aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-16 11:50:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-16 11:50:55 +0000
commit33b611e66de7c68644f6e6ff3d3c32e2562148ee (patch)
treed943425b23701503f7796220b122ef7723fea0fd /common.mk
parent8715c13394aa10b916514b4bb17a44d870203e82 (diff)
downloadruby-33b611e66de7c68644f6e6ff3d3c32e2562148ee.tar.gz
common.mk: make bin directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 9d5448fc49..c7d044ca93 100644
--- a/common.mk
+++ b/common.mk
@@ -777,6 +777,13 @@ $(PLATFORM_D):
$(Q) $(MAKEDIRS) $(PLATFORM_DIR) $(@D)
@exit > $@
+bin/$(PROGRAM): ruby-runner.c ruby-runner.h $(TIMESTAMPDIR)/.bin.time
+ $(Q) $(PURIFY) $(CC) $(CFLAGS) $(CPPFLAGS) -DRUBY_INSTALL_NAME=$(@F) $(LDFLAGS) $(LIBS) $(OUTFLAG)$@ $<
+
+$(TIMESTAMPDIR)/.bin.time:
+ $(Q) $(MAKEDIRS) bin $(@D)
+ $(Q) exit > $@
+
$(BUILTIN_ENCOBJS) $(BUILTIN_TRANSOBJS): $(ENC_TRANS_D)
$(ENC_TRANS_D):