Move assert lib for tests one directory up and add it always in the beginning

This commit is contained in:
Daniel Bovensiepen
2012-05-16 16:07:55 +08:00
parent dd6af6d2ec
commit 26c6031a53
2 changed files with 2 additions and 1 deletions
+2 -1
View File
@@ -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