aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJ08nY2017-08-29 14:38:17 +0200
committerJ08nY2017-08-29 14:38:17 +0200
commit61df4c7b7fe27497cd2076e09f40d8c8a6223ed2 (patch)
treeddfe5eb963ea27b589d47acc7d0be5cb2226a6b1 /Makefile
parentb88a3d0cc85c9e0173f945875f74cd9ff5105f16 (diff)
downloadecgen-61df4c7b7fe27497cd2076e09f40d8c8a6223ed2.tar.gz
ecgen-61df4c7b7fe27497cd2076e09f40d8c8a6223ed2.tar.zst
ecgen-61df4c7b7fe27497cd2076e09f40d8c8a6223ed2.zip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9a3a880..a4a5238 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,9 @@ docs:
test: all
+$(MAKE) -C test test
+unittest: all
+ +$(MAKE) -C test unittest
+
help:
@echo "ecgen, tool for generating Elliptic curve domain parameters"
@echo
@@ -33,14 +36,15 @@ help:
@echo " - econvert : build the format conversion binary"
@echo " - docs : generate doxygen docs"
@echo " - test : test the main binary"
+ @echo " - unittest : "
@echo " - clean : cleans up after a build"
@echo " - clean-all : cleans all"
@echo " - format : run clang-format on source files"
@echo " - help : print this help"
-.PHONY: all clean clean-all docs test help
+.PHONY: all clean clean-all docs test unittest help
-ifeq (, $(filter all clean clean-all docs test help, $(MAKECMDGOALS)))
+ifeq (, $(filter all clean clean-all docs test unittest help, $(MAKECMDGOALS)))
# Just pass all targets to a Makefile in src
$(MAKECMDGOALS):
+$(MAKE) -C src $@