summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-12-14 18:20:07 -0800
committerYukihiro "Matz" Matsumoto <[email protected]>2012-12-14 18:20:07 -0800
commit404ad702db6b421eed9e5245edcb7c57eff9b359 (patch)
tree822ced354252a2d55262e745a14430a89ec4245e /tools
parent2471b7b668bc11f688acff66f405efd932a29971 (diff)
parentbf87a0f7018acf441f4b928c679bc4d2fb94954a (diff)
downloadmruby-404ad702db6b421eed9e5245edcb7c57eff9b359.tar.gz
mruby-404ad702db6b421eed9e5245edcb7c57eff9b359.zip
Merge pull request #627 from iij/pr-mrbgems-dependency
rebuild binaries when mrbgem archives are updated.
Diffstat (limited to 'tools')
-rw-r--r--tools/mirb/Makefile2
-rw-r--r--tools/mruby/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/mirb/Makefile b/tools/mirb/Makefile
index 8e26feaf3..b953038a8 100644
--- a/tools/mirb/Makefile
+++ b/tools/mirb/Makefile
@@ -66,7 +66,7 @@ endif
all : $(LIBR) $(EXE)
# executable constructed using linker from object files
-$(EXE) : $(LIBR) $(OBJS) $(EXTS)
+$(EXE) : $(LIBR) $(OBJS) $(GEM_ARCHIVE_FILES) $(EXTS)
$(LL) -o $@ $(LDFLAGS) $(OBJS) $(LIBR) $(GEM_ARCHIVE_FILES) $(EXTS) $(LIBS)
-include $(OBJS:.o=.d)
diff --git a/tools/mruby/Makefile b/tools/mruby/Makefile
index 0316bfb8f..55e37aafa 100644
--- a/tools/mruby/Makefile
+++ b/tools/mruby/Makefile
@@ -71,7 +71,7 @@ endif
all : $(LIBR) $(EXE)
# executable constructed using linker from object files
-$(EXE) : $(LIBR) $(OBJS) $(EXTS)
+$(EXE) : $(LIBR) $(OBJS) $(GEM_ARCHIVE_FILES) $(EXTS)
$(LL) -o $@ $(LDFLAGS) $(OBJS) $(LIBR) $(GEM_ARCHIVE_FILES) $(EXTS) $(LIBS)
-include $(OBJS:.o=.d)