To be more consistent, rename make variable INCLUDES to GLOBAL_INCLUDES. Also remove the need to put -I in front of each field, the make system will do that for you. To fix your module makefiles: -Change INCLUDES -> GLOBAL_INCLUDES -Remove -I prefix
18 lines
339 B
Makefile
18 lines
339 B
Makefile
LOCAL_DIR := $(GET_LOCAL_DIR)
|
|
|
|
MODULE := $(LOCAL_DIR)
|
|
|
|
GLOBAL_INCLUDES += $(LOCAL_DIR)/include
|
|
|
|
MODULE_SRCS += \
|
|
$(LOCAL_DIR)/tests.c \
|
|
$(LOCAL_DIR)/thread_tests.c \
|
|
$(LOCAL_DIR)/printf_tests.c \
|
|
$(LOCAL_DIR)/clock_tests.c \
|
|
$(LOCAL_DIR)/benchmarks.c \
|
|
$(LOCAL_DIR)/fibo.c
|
|
|
|
MODULE_COMPILEFLAGS += -Wno-format
|
|
|
|
include make/module.mk
|