From 237c2323d66b647ddc3fb1c0447b2c60b9b38feb Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Fri, 18 Apr 2014 18:16:46 +0800 Subject: [PATCH] add git submoudle update to makefile --- Makefile | 5 ++++- README.md | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 61eb01fb..74e32204 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/README.md b/README.md index 78ffb3f0..2b5e625d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ Install autoconf first for jemalloc ``` git clone git@github.com:cloudwu/skynet.git -git submodule update --init cd skynet make 'PLATFORM' # PLATFORM can be linux, macosx, freebsd now ```