Compile json code with profiler when profiling is enabled
This commit is contained in:
parent
43ec97378c
commit
0360a2da35
@ -51,7 +51,7 @@ PROF_BUILD_DIR=prof_build
|
||||
|
||||
# PROCESSOR
|
||||
JSONSRC="../src/json/*.c"
|
||||
JSONFLAGS="-c"
|
||||
JSONFLAGS="-c "
|
||||
JSON_BUILD_DIR=json_build
|
||||
|
||||
PROCSRC="./$JSON_BUILD_DIR/*.o \
|
||||
@ -62,6 +62,7 @@ PROCSRC="./$JSON_BUILD_DIR/*.o \
|
||||
PROCOUT=prochavr
|
||||
|
||||
if [[ $ENABLE_PROFILING == true ]]; then
|
||||
JSONFLAGS+="-DENABLE_PROFILING"
|
||||
PROCSRC+="./$PROF_BUILD_DIR/*.o"
|
||||
PROCFLAGS="-DENABLE_PROFILING"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user