wvtest_PROGRAMS:=$(addprefix fres-,$(basename $(notdir $(wildcard $(SOURCES_DIR)/*.c)))) CFLAGS += -DWVTEST_CONFIGURED $(foreach t,$(wvtest_PROGRAMS),\ $(eval $(t)_SOURCES = $(t:fres-%=%).c)\ $(eval $(t)_LIBS = fosa m contract rt forb ulut wvtest)\ )