summaryrefslogtreecommitdiffhomepage
path: root/test/Makefile
diff options
context:
space:
mode:
authorDaniel Bovensiepen <[email protected]>2012-05-16 16:07:55 +0800
committerDaniel Bovensiepen <[email protected]>2012-05-16 16:07:55 +0800
commit26c6031a53867011eb33b624ed245d5603b778cf (patch)
treed9ebdce9f246607409efc65f414704c96fb677d3 /test/Makefile
parentdd6af6d2ec17c88c87844e75cd973fb4569c4c88 (diff)
downloadmruby-26c6031a53867011eb33b624ed245d5603b778cf.tar.gz
mruby-26c6031a53867011eb33b624ed245d5603b778cf.zip
Move assert lib for tests one directory up and add it always in the beginning
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 26c898704..7f5c16980 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -12,6 +12,7 @@ INIT := init_$(TARGET).c
DLIB := $(TARGET).ctmp
RLIB := $(TARGET).rbtmp
DEPLIB := $(TARGET).d driver.d
+ASSLIB := $(BASEDIR)/assert.rb
MRBS := $(BASEDIR)/t/*.rb
OBJS := driver.o $(MLIB)
@@ -95,7 +96,7 @@ $(MRBC) : ../src/opcode.h ../src/codegen.c ../src/parse.y
$(MAKE) -C ../tools/mrbc $(MAKE_FLAGS)
# merge mruby sources
-$(RLIB) : $(MRBS)
+$(RLIB) : $(ASSLIB) $(MRBS)
cat $? > $@
# clean up