You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
793 B

#===============================================================================
# export variable
#===============================================================================
ifeq ($(CFG_SOCT_EXPORT_FLAG),)
SDK_DIR ?= $(shell cd $(CURDIR)/../../.. && /bin/pwd)
include $(SDK_DIR)/base.mak
endif
include $(SAMPLE_DIR)/base.mak
#===============================================================================
# local variable
#===============================================================================
CFLAGS := -I$(USR_DIR)/include \
-I$(DRV_DIR)/include \
-I$(USR_DIR)/securec \
-I$(SAMPLE_DIR)/common
SAMPLE_IMAGES := sample_i2c_read sample_i2c_write
DEPEND_LIBS := -luapi_securec
include $(SAMPLE_DIR)/soc_sample_rules.mak