From dded798f1a038c8482fcc5d41824a9161d0a60c2 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 4 Dec 2018 08:15:59 +0100 Subject: [WIP] screw with folders organization --- Makefile | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e840c8d..8ee2ef6 100644 --- a/Makefile +++ b/Makefile @@ -1,24 +1,25 @@ -implementations = $(dir \ - $(shell find crypto_aead -name Makefile) \ -) +modes = i ii +keylengths = 128 192 256 -delegated = clean test +tests = $(foreach m,$(modes),$(foreach l,$(keylengths),test/$(m)-$(l))) -.PHONY: $(delegated) nist + +.PHONY: clean nist test traces results: mkdir $@ -$(delegated):: +clean:: + - rm -r results + +test: status=0; \ - for i in $(implementations); \ + for i in $(tests); \ do \ make -C $$i $@ || status=1; \ done; \ exit $$status -clean:: - - rm -r results traces: traces-ae traces-tbc -- cgit v1.2.3