1# 2# Timer World Nanoapp Makefile 3# 4 5# Environment Checks ########################################################### 6 7ifeq ($(CHRE_PREFIX),) 8ifneq ($(ANDROID_BUILD_TOP),) 9CHRE_PREFIX = $(ANDROID_BUILD_TOP)/system/chre 10else 11$(error "You must run 'lunch' to setup ANDROID_BUILD_TOP, or explicitly define \ 12 the CHRE_PREFIX environment variable to point to the CHRE root \ 13 directory.") 14endif 15endif 16 17# Nanoapp Configuration ######################################################## 18 19NANOAPP_NAME = timer_world 20NANOAPP_ID = 0x0123456789000002 21NANOAPP_VERSION = 0x00000001 22 23NANOAPP_NAME_STRING = \"Timer\ World\" 24 25# Common Compiler Flags ######################################################## 26 27# Include paths. 28COMMON_CFLAGS += -I. 29COMMON_CFLAGS += -I$(CHRE_PREFIX)/util/include 30 31# Defines. 32COMMON_CFLAGS += -DNANOAPP_MINIMUM_LOG_LEVEL=CHRE_LOG_LEVEL_DEBUG 33 34# Common Source Files ########################################################## 35 36COMMON_SRCS += timer_world.cc 37 38# Makefile Includes ############################################################ 39 40include $(CHRE_PREFIX)/build/nanoapp/app.mk 41