add git submoudle update to makefile

This commit is contained in:
Cloud Wu
2014-04-18 18:16:46 +08:00
parent ae0ceedfc2
commit 237c2323d6
2 changed files with 4 additions and 2 deletions

View File

@@ -28,7 +28,10 @@ all : jemalloc
$(JEMALLOC_STATICLIB) : 3rd/jemalloc/Makefile
cd 3rd/jemalloc && $(MAKE) CC=$(CC)
3rd/jemalloc/Makefile :
3rd/jemalloc :
git submodule update --init
3rd/jemalloc/Makefile : | 3rd/jemalloc
cd 3rd/jemalloc && ./autogen.sh --with-jemalloc-prefix=je_ --disable-valgrind
jemalloc : $(JEMALLOC_STATICLIB)