#------------------------------------------------------------------------------- # Configure variable #------------------------------------------------------------------------------- TOP_DIR:=$(TOP_DIR) ROOT_DIR:=$(TOP_DIR)/../.. MAKEFILE_PATH :=$(subst $(strip \),/,$(abspath $(lastword $(MAKEFILE_LIST)))) USR_DIR=${TOP_DIR}/../../../catPro/woem #------------------------------------------------------------------------------- # Configure source code files #------------------------------------------------------------------------------- WOEM_DIR=src WOEM_SRC=${WOEM_DIR}/oem.c \ SRC_FILES+= \ ${WOEM_SRC} # main.c \ #------------------------------------------------------------------------------- # the include directories #------------------------------------------------------------------------------- SDK_USR_INC_PATH=${TOP_DIR}/interface SDK_USR_DIR=-I${TOP_DIR}/common/include/fs \ -I${TOP_DIR}/common/include/lwipv4v6 \ -I${SDK_USR_INC_PATH}/network/sockets/inc \ -I${SDK_USR_INC_PATH}/network/nw/inc \ -I${SDK_USR_INC_PATH}/network/sim/inc \ -I${SDK_USR_INC_PATH}/network/data_call/inc \ -I${SDK_USR_INC_PATH}/time/inc \ -I${SDK_USR_INC_PATH}/dev/inc \ -I${SDK_USR_INC_PATH}/fs/inc \ -I${SDK_USR_INC_PATH}/audio/inc \ -I${SDK_USR_INC_PATH}/fota/inc \ -I${SDK_USR_INC_PATH}/http/inc \ -I${SDK_USR_INC_PATH}/ssl/inc \ -I${SDK_USR_INC_PATH}/gnss/inc \ -I${SDK_USR_INC_PATH}/log/inc \ -I${SDK_USR_INC_PATH}/os/inc \ -I${SDK_USR_INC_PATH}/driver/inc \ -I${SDK_USR_INC_PATH}/at/inc \ INC_DIRS+= \ -I${TOP_DIR}/ \ -I${TOP_DIR}/common/include \ ${SDK_USR_DIR} \ -I${USR_DIR} \ -I${USR_DIR}/${WOEM_DIR} \ #------------------------------------------------------------------------------- # Configure compile flag for C #------------------------------------------------------------------------------- U_FLAGS:= -w #------------------------------------------------------------------------------- # Configure compile flag for C++ #------------------------------------------------------------------------------- U_CPPFLAGS:= #------------------------------------------------------------------------------- # Configure default macro define #------------------------------------------------------------------------------- DFLAGS+= \ -D__TM_ZONE=tm_zone \ -D__TM_GMTOFF=tm_gmtoff \ ${USER_FLAGS} #------------------------------------------------------------------------------- # Configure link library #------------------------------------------------------------------------------- U_LIBS:= #------------------------------------------------------------------------------- # include mk file #------------------------------------------------------------------------------- include ${TOP_DIR}/config/common/makefile.mk