summaryrefslogtreecommitdiffhomepage
path: root/mrblib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mrblib/Makefile')
-rw-r--r--mrblib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/mrblib/Makefile b/mrblib/Makefile
index 712962371..f56d00b5a 100644
--- a/mrblib/Makefile
+++ b/mrblib/Makefile
@@ -12,6 +12,7 @@ RLIB := $(TARGET).rbtmp
DEPLIB := $(TARGET).d
MRB1 := $(BASEDIR)/*.rb
MRBS := $(MRB1)
+LIBR0 := ../lib/libmruby_core.a
LIBR := ../lib/libmruby.a
# C compiler (gcc)
@@ -47,6 +48,7 @@ all : $(LIBR)
# update libmruby.a
$(LIBR) : $(MLIB)
+ cp $(LIBR0) $(LIBR)
$(AR) r $(LIBR) $(MLIB)
# Compile mrblib source
@@ -69,4 +71,3 @@ $(RLIB) : $(MRBS)
clean :
@echo "make: removing targets, objects and depend files of `pwd`"
-rm -f $(MRBC) $(MLIB) $(CLIB) $(RLIB) $(DLIB) $(DEPLIB)
-