Explorar el Código

add new make-target 'bins'

so you can easily build the useful demos
Steffen Jaeckel hace 8 años
padre
commit
90daad0764
Se han modificado 2 ficheros con 4 adiciones y 1 borrados
  1. 2 0
      makefile
  2. 2 1
      makefile.include

+ 2 - 0
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

+ 2 - 1
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