Commit c24d2663 authored by gejun's avatar gejun

add default config.mk and config_with_tcmalloc.mk; quit makefile in better way

Change-Id: Ib7605a5f6edd0a28f99945118a94ca383009fdf8
parent 3a8c079f
$(error GFLAGS_PATH is not defined, run config_brpc.sh first)
......@@ -38,7 +38,6 @@ echo -e $CONTENT1 > config.mk
if [[ ! -z "$TCMALLOC_PATH" ]]; then
CONTENT2="$CONTENT1\nTCMALLOC_PATH=$TCMALLOC_PATH"
else
CONTENT2="\$(info TCMALLOC_PATH is not defined, run config_brpc.sh with --tcmalloc again)\nall:\n\texit 1"
CONTENT2="\$(error TCMALLOC_PATH is not defined, run config_brpc.sh with --tcmalloc again)"
fi
echo -e $CONTENT2 > config_with_tcmalloc.mk
$(error TCMALLOC_PATH is not defined, run config_brpc.sh with --tcmalloc again)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment