1 # 2 # Wifi World Nanoapp Makefile 3 # 4 5 # Environment Checks ########################################################### 6 7 ifeq ($(CHRE_PREFIX),) 8 $(error "The CHRE_PREFIX environment variable must be set to a path to the \ 9 CHRE project root. Example: export CHRE_PREFIX=$$HOME/chre") 10 endif 11 12 # Nanoapp Configuration ######################################################## 13 14 NANOAPP_NAME = wifi_world 15 NANOAPP_ID = 0x0123456789000006 16 NANOAPP_VERSION = 0x00000000 17 18 NANOAPP_NAME_STRING = \"Wi-Fi\ World\" 19 20 # Common Compiler Flags ######################################################## 21 22 COMMON_CFLAGS += -I. 23 24 COMMON_CFLAGS += -DNANOAPP_MINIMUM_LOG_LEVEL=CHRE_LOG_LEVEL_DEBUG 25 26 # Common Source Files ########################################################## 27 28 COMMON_SRCS += wifi_world.cc 29 COMMON_SRCS += $(CHRE_PREFIX)/util/nanoapp/wifi.cc 30 31 # Makefile Includes ############################################################ 32 33 include $(CHRE_PREFIX)/build/nanoapp/app.mk 34