summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-12-04 08:15:59 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-12-04 10:40:58 +0100
commitdded798f1a038c8482fcc5d41824a9161d0a60c2 (patch)
treea52436ee5e61d639aaceaeae2efb587a6e68f57b /Makefile
parent950bd7432cd486d29503444b0557d7a1452efd07 (diff)
downloadlilliput-ae-implem-dded798f1a038c8482fcc5d41824a9161d0a60c2.tar.xz
[WIP] screw with folders organization
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 10 insertions, 9 deletions
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