09157951638 / compilers / bcparser

Forked from compilers/bcparser a year ago
Clone

Blame project/common.mk

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