summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTomoyuki Sahara <[email protected]>2012-12-13 17:23:55 +0900
committerTomoyuki Sahara <[email protected]>2012-12-14 13:39:19 +0900
commitbf87a0f7018acf441f4b928c679bc4d2fb94954a (patch)
tree76e17045534bb3a6748317517337621d15e96adf
parentc81a97df9447fe2fff1925f865b06b45bafb8eeb (diff)
downloadmruby-bf87a0f7018acf441f4b928c679bc4d2fb94954a.tar.gz
mruby-bf87a0f7018acf441f4b928c679bc4d2fb94954a.zip
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)