summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorDaniel Bovensiepen <[email protected]>2012-09-24 00:12:16 +0800
committerDaniel Bovensiepen <[email protected]>2012-09-24 00:12:16 +0800
commit0832e26f20882ad6eb10a27ff32d48f1ed6cac04 (patch)
treee28c004ea14a0e0cab28e44186c969a06a59e1be /test
parentcad954aa9f76342bbc700d8bacb1d039f2c13b5f (diff)
downloadmruby-0832e26f20882ad6eb10a27ff32d48f1ed6cac04.tar.gz
mruby-0832e26f20882ad6eb10a27ff32d48f1ed6cac04.zip
Fix initializing of generator and beautify generator
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 :