Commit 26c6031a authored by Daniel Bovensiepen's avatar Daniel Bovensiepen

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

parent dd6af6d2
...@@ -12,6 +12,7 @@ INIT := init_$(TARGET).c ...@@ -12,6 +12,7 @@ INIT := init_$(TARGET).c
DLIB := $(TARGET).ctmp DLIB := $(TARGET).ctmp
RLIB := $(TARGET).rbtmp RLIB := $(TARGET).rbtmp
DEPLIB := $(TARGET).d driver.d DEPLIB := $(TARGET).d driver.d
ASSLIB := $(BASEDIR)/assert.rb
MRBS := $(BASEDIR)/t/*.rb MRBS := $(BASEDIR)/t/*.rb
OBJS := driver.o $(MLIB) OBJS := driver.o $(MLIB)
...@@ -95,7 +96,7 @@ $(MRBC) : ../src/opcode.h ../src/codegen.c ../src/parse.y ...@@ -95,7 +96,7 @@ $(MRBC) : ../src/opcode.h ../src/codegen.c ../src/parse.y
$(MAKE) -C ../tools/mrbc $(MAKE_FLAGS) $(MAKE) -C ../tools/mrbc $(MAKE_FLAGS)
# merge mruby sources # merge mruby sources
$(RLIB) : $(MRBS) $(RLIB) : $(ASSLIB) $(MRBS)
cat $? > $@ cat $? > $@
# clean up # clean up
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment