From 90daad0764f839195422a3b2fb4e7a57cae6b7a8 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Mon, 1 May 2017 11:17:23 +0200 Subject: [PATCH] add new make-target 'bins' so you can easily build the useful demos --- makefile | 2 ++ makefile.include | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index aa5e933..7cff821 100644 --- a/makefile +++ b/makefile @@ -275,6 +275,8 @@ endef $(foreach demo, $(strip $(DEMOS)), $(eval $(call DEMO_template,$(demo)))) +bins: $(USEFUL_DEMOS) + all_test: test tv_gen $(DEMOS) ifeq ($(COVERAGE),1) all_test: LIB_PRE = -Wl,--whole-archive diff --git a/makefile.include b/makefile.include index e426156..5dadaba 100644 --- a/makefile.include +++ b/makefile.include @@ -87,7 +87,8 @@ endif TIMING=timing TEST=test -DEMOS=hashsum ltcrypt small tv_gen sizes constants +USEFUL_DEMOS=hashsum +DEMOS=$(USEFUL_DEMOS) ltcrypt small tv_gen sizes constants TIMINGS=demos/timing.o TESTS=demos/test.o