]> rtime.felk.cvut.cz Git - frescor/fosa.git/blob - src_marte_os/tests/test_clock_and_timers/Makefile.omk
OMK: FOSA tests compilation can be disabled in OMK configuration
[frescor/fosa.git] / src_marte_os / tests / test_clock_and_timers / Makefile.omk
1 default_CONFIG = CONFIG_FOSA_MARTE_TEST_$(notdir $(SOURCES_DIR))=y
2
3 ifeq ($(CONFIG_FRSH_TEST_$(notdir $(SOURCES_DIR))),y)
4 test_PROGRAMS:=$(basename $(notdir $(wildcard $(SOURCES_DIR)/*.c)))
5
6 $(foreach t,$(test_PROGRAMS),\
7 $(eval $(t)_SOURCES = $(t).c)\
8 $(eval $(t)_LIBS = fosa m)\
9 )
10 endif
11