Permalink
Browse files

update Makefile dependency

  • Loading branch information...
1 parent 1c6621d commit a73c78beb869678132a13511385e0d79edd5baf7 @matz matz committed May 14, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 mrblib/Makefile
View
@@ -43,10 +43,13 @@ endif
# generic build targets, rules
.PHONY : all
-all : $(MRBC) $(MLIB)
- $(AR) r $(LIBR) $(MLIB)
+all : $(LIBR)
@echo "make: built targets of `pwd`"
+# update libmruby.a
+$(LIBR) : $(MRBC) $(MLIB)
+ $(AR) r $(LIBR) $(MLIB)
+
# Compile mrblib source
$(MLIB) : $(CLIB)
$(CC) $(ALL_CFLAGS) -MMD $(INCLUDES) -c $(CLIB) -o $(MLIB)

0 comments on commit a73c78b

Please sign in to comment.