1LOCAL_DIR := $(GET_LOCAL_DIR) 2 3MODULE := $(LOCAL_DIR) 4 5MODULE_DEPS += lib/fs/fat 6MODULE_DEPS += lib/unittest 7 8MODULE_SRCS += $(LOCAL_DIR)/test.cpp 9 10# pass in the local dir relative to the build root 11# so the test.cpp has a path to include files against 12MODULE_DEFINES += LOCAL_DIR=\"$(LOCAL_DIR)\" 13 14# add a few files that should force a rebuild if modified 15MODULE_SRCDEPS += $(LOCAL_DIR)/hello.txt 16MODULE_SRCDEPS += $(LOCAL_DIR)/LICENSE 17 18include make/module.mk 19