Blame project/common.mk

8d7d11
common_src_dirs   = $(SOURCE_DIR)/src/*/
99b1a6
common_src_files  = $(addsuffix *.c,$(common_src_dirs))
99b1a6
common_sort_files = $(sort $(wildcard $(common_src_files)))
8d7d11
COMMON_SRCS       = $(subst $(SOURCE_DIR)/src/,src/,$(common_sort_files))
ffea9c
8d7d11
app_src_dirs      = $(SOURCE_DIR)/src/
99b1a6
app_src_files     = $(addsuffix *.c,$(app_src_dirs))
99b1a6
app_sort_files    = $(sort $(wildcard $(app_src_files)))
8d7d11
APP_SRCS          = $(subst $(SOURCE_DIR)/src/,src/,$(app_sort_files))