summaryrefslogtreecommitdiffhomepage
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
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.
-rw-r--r--test/Makefile2
-rw-r--r--tools/mirb/Makefile2
-rw-r--r--tools/mruby/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/Makefile b/test/Makefile
index 844f8cc22..f671982fd 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -94,7 +94,7 @@ all : $(EXE) $(MRUBY) $(TESTRB) $(TESTMRB)
@echo
# executable constructed using linker from object files
-$(EXE) : $(OBJS) $(LIBR)
+$(EXE) : $(OBJS) $(LIBR) $(GEM_ARCHIVE_FILES)
$(LL) -o $@ $(LDFLAGS) $(OBJS) $(LIBR) $(GEM_ARCHIVE_FILES) $(LIBS)
-include $(OBJS:.o=.d)
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)