[apps] Include Makefile apps from list

This commit is contained in:
Jean-Baptiste Boric
2017-10-16 19:37:40 +02:00
committed by Ecco
parent 845337a042
commit 8429f0ac94
2 changed files with 5 additions and 11 deletions

View File

@@ -49,6 +49,8 @@ info:
@echo "CXXFLAGS = $(CXXFLAGS)"
@echo "SFLAGS = $(SFLAGS)"
@echo "LDFLAGS = $(LDFLAGS)"
@echo "EPSILON_APPS = $(EPSILON_APPS)"
@echo "EPSILON_I18N_LANGUAGES = $(EPSILON_I18N_LANGUAGES)"
@echo "==============================="
# Each sub-Makefile can either add objects to the $(objs) variable or define a

View File

@@ -1,4 +1,5 @@
EPSILON_I18N_LANGUAGES ?= en fr es de pt
EPSILON_APPS ?= calculation graph sequence settings statistics probability regression code
include apps/shared/Makefile
include apps/home/Makefile
@@ -6,19 +7,10 @@ include apps/on_boarding/Makefile
include apps/hardware_test/Makefile
snapshots =
# You can select below which apps you want to include in your build, as well as
# their order on the home screen. Each Makefile below is responsible for setting
# All selected apps are included. Each Makefile below is responsible for setting
# the $snapshots variable (name of the snapshot class) and the $snapshot_headers
# (path to the snapshot header).
include apps/calculation/Makefile
include apps/graph/Makefile
include apps/sequence/Makefile
include apps/settings/Makefile
include apps/statistics/Makefile
include apps/probability/Makefile
include apps/regression/Makefile
include apps/code/Makefile
#include apps/picview/Makefile
$(foreach i,${EPSILON_APPS},$(eval include apps/$(i)/Makefile))
app_objs += $(addprefix apps/,\
apps_container.o\