update Makefile dependency

This commit is contained in:
Yukihiro Matsumoto
2012-05-15 03:05:05 +09:00
parent 1c6621d5f0
commit a73c78beb8
+5 -2
View File
@@ -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)