summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-02-20 10:49:48 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-02-20 10:49:48 +0100
commitcceea9e9eacfa8d165d4ad11900f061ac6401a11 (patch)
tree179d5c4523b18e79765a7aeacb99cc2bc110ebfe
parentffe4e0a7e85af0dcb4d6bae8dd753e69ebd2a262 (diff)
downloadkernel-crypto-cceea9e9eacfa8d165d4ad11900f061ac6401a11.tar.gz
kernel-crypto-cceea9e9eacfa8d165d4ad11900f061ac6401a11.tar.xz
kernel-crypto-cceea9e9eacfa8d165d4ad11900f061ac6401a11.zip
Added "make check" that will actually run the examples.
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2093acca563..5a8eb2b85c5 100644
--- a/Makefile
+++ b/Makefile
@@ -14,3 +14,12 @@ install:
clean:
make -C $(KERNEL_DIR) SUBDIRS=`pwd` clean
+ rm -f $(hostprogs)
+
+hostprogs := example-cipher example-hmac
+example-cipher-objs := example-cipher.o
+example-hmac-objs := example-hmac.o
+
+check: $(hostprogs)
+ ./example-cipher
+ ./example-hmac