From bf87a0f7018acf441f4b928c679bc4d2fb94954a Mon Sep 17 00:00:00 2001 From: Tomoyuki Sahara Date: Thu, 13 Dec 2012 17:23:55 +0900 Subject: rebuild binaries when mrbgem archives are updated. --- test/Makefile | 2 +- tools/mirb/Makefile | 2 +- tools/mruby/Makefile | 2 +- 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) -- cgit v1.2.3