summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/Makefile b/test/Makefile
index 04722e2d1..183e03438 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -69,7 +69,8 @@ $(OBJS) : %.o : %.c
$(CC) $(ALL_CFLAGS) -MMD $(INCLUDES) -c $< -o $@
# Compile C source from merged mruby source
-$(CLIB) : $(DLIB) $(GEMDLIB) $(INIT)
+$(CLIB) : $(DLIB) $(INIT)
+ @$(MAKE) prepare-test -C $(GEMDIR)
$(CAT) $(INIT) $(DLIB) $(GEMDLIB) > $@
$(DLIB) : $(RLIB) $(MRBC)
@@ -79,9 +80,6 @@ $(DLIB) : $(RLIB) $(MRBC)
$(RLIB) : $(ASSLIB) $(MRBS)
$(CAT) $(ASSLIB) $(MRBS) > $@
-$(GEMDLIB) :
- @$(MAKE) prepare-test -C $(GEMDIR)
-
# clean up
.PHONY : clean
clean :